Module type Tick.PERSISTENT_TRIGGER

module type PERSISTENT_TRIGGER = sig .. end
The type for persistent triggers.

PERSISTENT_TRIGGER provides a type that tick watchers are able to actuate and to serialize.



Triggers


type t 
The type for persistent triggers.
val actuate : int64 -> int64 -> t -> unit
actuate d t tr is called whenever a watcher's trigger needs to be actuated. d is the watcher's delay and t the actual lingering time.
val codec : (t -> string) *
(string -> (t, Rresult.R.msg) Rresult.result)
codec is a byte codec for triggers.