LTerm_widget_callbacks

# Module LTerm_widget_callbacks

    module LTerm_widget_callbacks: sig .. end

Switches are used to stop signals.

    type switch

Switches are used to stop signals.

    val register : switch option -> 'a Lwt_sequence.t -> 'a -> unit

    val stop : switch -> unit

    val exec_callbacks : ('a -> unit) Lwt_sequence.t -> 'a -> unit

`apply_callbacks callbacks x`

    val exec_filters : ('a -> bool) Lwt_sequence.t -> 'a -> bool