Grpc Context Element
class GrpcContextElement(grpcContext: Context) : ThreadContextElement<Context>
Content copied to clipboard
A CoroutineContext that propagates an associated io.grpc.Context to coroutines run using that context, regardless of thread.
Constructors
GrpcContextElement
Link copied to clipboard
Types
Key
Link copied to clipboard
Functions
get
Link copied to clipboard
open operator override fun <E : CoroutineContext.Element> get(key: CoroutineContext.Key<E>): E?
Content copied to clipboard
minusKey
Link copied to clipboard
open override fun minusKey(key: CoroutineContext.Key<*>): CoroutineContext
Content copied to clipboard
plus
Link copied to clipboard
restoreThreadContext
Link copied to clipboard
open override fun restoreThreadContext(context: CoroutineContext, oldState: Context)
Content copied to clipboard
updateThreadContext
Link copied to clipboard
open override fun updateThreadContext(context: CoroutineContext): Context
Content copied to clipboard
Properties
key
Link copied to clipboard
Sources
jvm source
Link copied to clipboard