devkit

Development kit - general purpose library
IN THIS PACKAGE
type t
val is_available : unit -> bool
  • returns

    if OS has necessary support for this module

val setup : Libevent.event_base -> t
val shutdown : t -> unit

Destructor. All queued events are lost

val callback : t -> ( unit -> unit ) -> unit

Arrange for callback to be executed in libevent loop, callback should not throw (exceptions are reported and ignored)