package ambient-context

  1. Overview
  2. Docs

Module Ambient_contextSource

include module type of struct include Ambient_context_core.Types end
Sourcetype storage = (module STORAGE)
Sourcetype 'a key = int * 'a Hmap.key
Sourceval debug : bool
Sourceval id : int Atomic.t
Sourceval generate_debug_id : unit -> int
Sourceval compare_key : int -> int -> int
Sourceval current_storage_key : storage TLS.t
Sourceval get_current_storage : unit -> Ambient_context_core.Types.storage
Sourceval create_key : unit -> int * 'a Ambient_context_core.Ambient_context_hmap.key
Sourceval get : (int * 'a Ambient_context_core.Ambient_context_hmap.key) -> 'a option
Sourceval with_binding : 'a key -> 'a -> (unit -> 'r) -> 'r
Sourceval without_binding : (int * 'a Ambient_context_core.Ambient_context_hmap.key) -> (unit -> 'b) -> 'b
Sourceval set_storage_provider : Ambient_context_core.Types.storage -> unit
OCaml

Innovation. Community. Security.