function contextOrNone
source · line 5public
@Intrinsic("context_or_none")
public fun <T: ref> contextOrNone(): Option<T>
Returns the current task's binding for the exact type T, or None when it is absent. The lookup does not allocate, throw, or search for compatible subtypes.
type parameter T
source · line 6public
T: ref