package async_kernel

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

Module Async_kernel.Execution_contextSource

The context in which an Async job runs.

Sourcetype t = {
  1. monitor : Async_kernel__.Types.Monitor.t;
  2. priority : Priority.t;
  3. local_storage : Core.Univ_map.t;
  4. backtrace_history : Core.Backtrace.t list;
}
Sourceval backtrace_history : t -> Core.Backtrace.t list
Sourceval local_storage : t -> Core.Univ_map.t
Sourceval priority : t -> Priority.t
Sourceval monitor : t -> Async_kernel__.Types.Monitor.t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
include Core.Invariant.S with type t := t
Sourceval invariant : t -> unit
Sourceval main : t
Sourceval create_like : ?monitor:Async_kernel__.Types.Monitor.t -> ?priority:Priority.t -> ?local_storage:Core.Univ_map.t -> t -> t
Sourceval find_local : t -> 'a Core.Univ_map.Key.t -> 'a option
Sourceval with_local : t -> 'a Core.Univ_map.Key.t -> 'a option -> t
Sourceval record_backtrace : t -> t
OCaml

Innovation. Community. Security.