Module Bonsai.Computation_statusSource

Sourcetype 'input t =
  1. | Active of 'input
  2. | Inactive

Indicates whether a value is available, which depends on whether the computation in which it is computed is active or not. Most of the time values of this type are Active, since it is unusual to interact with inactive computations.

A computation is considered inactive if it resides in the inactive arm of a match%sub or in a removed entry of a Bonsai.assoc.

Sourceval sexp_of_t : ('input -> Sexplib0.Sexp.t) -> 'input t -> Sexplib0.Sexp.t