class ArityZero<T> : Base<T>
<init> |
ArityZero(implementation: suspend () -> T, hasReceiver: Boolean = false) |
hasReceiver |
denotes whether function is called with receiver argument. Receiver argument in GraphQL is somewhat similar to kotlin receivers: its value is passed by framework, usually it is parent of function property with FunctionWrapper Receiver argument is omitted in schema, and cannot be stated in query document. val hasReceiver: Boolean |
implementation |
val implementation: suspend () -> T |
kFunction |
val kFunction: KFunction<T> |
arity |
fun arity(): Int |
invoke |
suspend fun invoke(args: List<Any?>, subscriptionArgs: List<String>, objectWriter: ObjectWriter): T?suspend fun invoke(vararg args: Any?): T? |
subscribe |
fun subscribe(subscription: String, subscriber: Subscriber): Unit |
unsubscribe |
fun unsubscribe(subscription: String): Unit |