Fiber.Handle
Existential fibers
type 'a fiber := 'a t
type t
The type for exisential fibers. This is Fiber.t with the 'a hidden.
Fiber.t
'a
val self : unit -> t
self is a handle to the executing fiber.
self
val id : t -> Id.t
id h is the unique identifier of the fiber.
id h
val equal : t -> t -> bool
equal tests fibers for equality.
equal
val compare : t -> t -> int
compare is a total order on fibers compatible with equal.
compare
val pp : Stdlib.Format.formatter -> t -> unit
pp formats exisential fibers.
pp