OperationDef

interface OperationDef<T> : FunctionWrapper<T> , Depreciable, DescribedDef

Functions

arity
Link copied to clipboard
abstract fun arity(): Int
hasReturnType
Link copied to clipboard
open fun hasReturnType(): Boolean
invoke
Link copied to clipboard
abstract suspend fun invoke(vararg args: Any?): T?
abstract suspend fun invoke(args: List<Any?>, subscriptionArgs: List<String>, objectWriter: ObjectWriter): T?
subscribe
Link copied to clipboard
abstract fun subscribe(subscription: String, subscriber: Subscriber)
unsubscribe
Link copied to clipboard
abstract fun unsubscribe(subscription: String)
valueParameters
Link copied to clipboard
open fun valueParameters(): List<KParameter>
returns list of function parameters without receiver

Properties

argumentsDescriptor
Link copied to clipboard
abstract override val argumentsDescriptor: Map<String, KType>
deprecationReason
Link copied to clipboard
abstract val deprecationReason: String?
description
Link copied to clipboard
abstract val description: String?
hasReceiver
Link copied to clipboard
abstract val hasReceiver: Boolean
denotes whether function is called with receiver argument.
isDeprecated
Link copied to clipboard
abstract val isDeprecated: Boolean
kFunction
Link copied to clipboard
abstract val kFunction: KFunction<T>
name
Link copied to clipboard
abstract val name: String

Inheritors

BaseOperationDef
Link copied to clipboard