class ArityEight<T, R, E, W, Q, A, S, D, F> : Base<T>
<init> |
ArityEight(implementation: suspend (R, E, W, Q, A, S, D, F) -> T, hasReceiver: Boolean) |
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 (R, E, W, Q, A, S, D, F) -> 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 |