Module Mode

module Mode: sig .. end
This module defines the modes of event delivery.

type error = 
| Invalid_condition_string of string
exception Exception of error
class type t = object .. end
The type of modes of events delivery.
val direct : unit -> t
Returns a mode delivering events as soon as they are generated.
val memory : unit -> t
Returns a mode delivering all events at program termination.
val retained : string -> t
Returns a mode delivering events every time a condition, specified by the string parameter is made true. The condition can have one of the following form: