package async_kernel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

The context in which an Async job runs.

type t = {
  1. monitor : Async_kernel__.Types.Monitor.t;
  2. priority : Priority.t;
  3. local_storage : Core_kernel.Univ_map.t;
  4. backtrace_history : Core_kernel.Backtrace.t list;
}
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__.Types.Monitor.t
module Fields : sig ... end
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
include Core_kernel.Invariant.S with type t := t
val invariant : t Base__.Invariant_intf.inv
val main : t
val create_like : ?monitor:Async_kernel__.Types.Monitor.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
OCaml

Innovation. Community. Security.