Module Supply_intf.Data

Defines domain-specific variant types.

type ('a, 'b) emission =
  1. | End
  2. | Emit of 'a * 'b

The result of observing a supply.

type ('a, 'b) verdict =
  1. | Continue of 'a
  2. | Return of 'b

The decision of a supply reader after processing one element.