coroutine Context
abstract fun coroutineContext(call: ServerCall<*, *>, headers: Metadata): CoroutineContext
Content copied to clipboard
Override this function to return a CoroutineContext in which to execute call and headers. The returned CoroutineContext will override any corresponding context elements in the server object.
This function will be called each time a call is executed.
Sources
jvm source
Link copied to clipboard