module type PERSISTENT_TRIGGER =sig
..end
PERSISTENT_TRIGGER
provides a type that tick watchers are able
to actuate and to serialize.
type
t
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.