package moonpool

  1. Overview
  2. Docs

Module Moonpool_fib.HandleSource

The unique name of a fiber.

Each fiber has a unique handle that can be used to refer to it in maps or sets.

Sourcetype t = private int

Unique, opaque identifier for a fiber.

Sourceval equal : t -> t -> bool
Sourceval compare : t -> t -> int
Sourceval hash : t -> int
Sourceval generate_fresh : unit -> t

Generate a fresh, unique identifier

Sourcemodule Set : Set.S with type elt = t
Sourcemodule Map : Map.S with type key = t
OCaml

Innovation. Community. Security.