AbstractCoroutineServerImpl

abstract class AbstractCoroutineServerImpl(val context: CoroutineContext = EmptyCoroutineContext) : BindableService

Skeleton implementation of a coroutine-based gRPC server implementation. Intended to be subclassed by generated code.

Constructors

Link copied to clipboard
fun AbstractCoroutineServerImpl(context: CoroutineContext = EmptyCoroutineContext)

Functions

Link copied to clipboard
abstract fun bindService(): ServerServiceDefinition

Properties

Link copied to clipboard
open val context: CoroutineContext

The context in which to run server coroutines.

Sources

Link copied to clipboard