Module Async_kernel.Execution_context

The context in which an Async job runs.

type t = Async_kernel__.Types.Execution_context.t = {
monitor : Async_kernel__.Monitor0.t;
priority : Priority.t;
local_storage : Core_kernel.Univ_map.t;
backtrace_history : Core_kernel.Backtrace.t list;
}
include sig ... end
val sexp_of_t : t ‑> Sexplib.Sexp.t
val backtrace_history : t ‑> Core_kernel.Backtrace.t list
val local_storage : t ‑> Core_kernel.Univ_map.t
val priority : t ‑> Priority.t
val monitor : t ‑> Async_kernel__.Monitor0.t
module Fields : sig ... end
include Core_kernel.Invariant.S with type t := t
type t
val main : t
val create_like : ?monitor:Async_kernel__.Monitor0.t ‑> ?priority:Priority.t ‑> ?local_storage:Core_kernel.Univ_map.t ‑> t ‑> t
val find_local : t ‑> 'a Core_kernel.Univ_map.Key.t ‑> 'a option
val with_local : t ‑> 'a Core_kernel.Univ_map.Key.t ‑> 'a option ‑> t
val record_backtrace : t ‑> t