Searched refs:ThreadContextElement (Results 1 – 11 of 11) sorted by relevance
27 if (element is ThreadContextElement<*>) { in <anonymous>()36 …fun (found: ThreadContextElement<*>?, element: CoroutineContext.Element): ThreadContextElement<*>?… in <anonymous>()38 return element as? ThreadContextElement<*> in <anonymous>()44 if (element is ThreadContextElement<*>) { in <anonymous>()54 if (element is ThreadContextElement<*>) { in <anonymous>()55 … (element as ThreadContextElement<Any?>).restoreThreadContext(state.context, state.take()) in <anonymous>()77 val element = countOrElement as ThreadContextElement<Any?> in threadContextElements()94 val element = context.fold(null, findOne) as ThreadContextElement<Any?> in restoreThreadContext()107 ) : ThreadContextElement<T> {
52 public interface ThreadContextElement<S> : CoroutineContext.Element { interface136 public fun <T> ThreadLocal<T>.asContextElement(value: T = get()): ThreadContextElement<T> = in updateThreadContext()
62 ) : ThreadContextElement<String>, AbstractCoroutineContextElement(CoroutineId) {
39 private object FailingUpdate : ThreadContextElement<Unit> { in <lambda>()54 private object FailingRestore : ThreadContextElement<Unit> { in <lambda>()
97 class MyElement(val data: MyData) : ThreadContextElement<MyData?> {
47 ) : ThreadContextElement<MDCContextMap>, AbstractCoroutineContextElement(Key) {
1 …text : kotlin/coroutines/AbstractCoroutineContextElement, kotlinx/coroutines/ThreadContextElement {
507 public abstract interface class kotlinx/coroutines/ThreadContextElement : kotlin/coroutines/Corouti…512 public final class kotlinx/coroutines/ThreadContextElement$DefaultImpls {513 …public static fun fold (Lkotlinx/coroutines/ThreadContextElement;Ljava/lang/Object;Lkotlin/jvm/fun…514 …public static fun get (Lkotlinx/coroutines/ThreadContextElement;Lkotlin/coroutines/CoroutineContex…515 …public static fun minusKey (Lkotlinx/coroutines/ThreadContextElement;Lkotlin/coroutines/CoroutineC…516 …public static fun plus (Lkotlinx/coroutines/ThreadContextElement;Lkotlin/coroutines/CoroutineConte…520 …ContextElement (Ljava/lang/ThreadLocal;Ljava/lang/Object;)Lkotlinx/coroutines/ThreadContextElement;521 …va/lang/ThreadLocal;Ljava/lang/Object;ILjava/lang/Object;)Lkotlinx/coroutines/ThreadContextElement;
META-INF/ META-INF/MANIFEST.MF kotlinx/ kotlinx/coroutines/ kotlinx/ ...
META-INF/ META-INF/MANIFEST.MF DebugProbesKt.bin META-INF/LICENSE ...
587 * `ThreadContextElement` API for custom thread-context sensitive context elements.