GrpcContextElement

A CoroutineContext that propagates an associated io.grpc.Context to coroutines run using that context, regardless of thread.

Constructors

Link copied to clipboard
constructor(grpcContext: Context)

Types

Link copied to clipboard

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun <R> fold(initial: R, operation: (R, CoroutineContext.Element) -> R): R
Link copied to clipboard
open operator override fun <E : CoroutineContext.Element> get(key: CoroutineContext.Key<E>): E?
Link copied to clipboard
open override fun minusKey(key: CoroutineContext.Key<*>): CoroutineContext
Link copied to clipboard
open operator fun plus(context: CoroutineContext): CoroutineContext
Link copied to clipboard
open override fun restoreThreadContext(context: CoroutineContext, oldState: Context)
Link copied to clipboard
open override fun updateThreadContext(context: CoroutineContext): Context