kgraphql / com.apurebase.kgraphql.schema / Publisher

Publisher

interface Publisher

Functions

subscribe

abstract fun subscribe(subscription: String, subscriber: Subscriber): Unit

unsubscribe

abstract fun unsubscribe(subscription: String): Unit

Inheritors

FunctionWrapper

FunctionWrapper is common interface for classes storing functions registered in schema by server code. Only up to 9 arguments are supported, because kotlin-reflect doesn't support invoking lambdas, local and anonymous functions yet, making implementation severely limited.

interface FunctionWrapper<T> : Publisher