Module Nonblocking.StatusSource

Sourcetype t

The type of a nonblocking operation status.

Sourceval create : ?read:bool -> ?write:bool -> ?except:bool -> ?timeout:bool -> unit -> t

Create a new status indicating which events have occured on the MariaDB connection socket.

Sourceval read : t -> bool

Indicates if a read event has occurred.

Sourceval write : t -> bool

Indicates if a write event has occurred.

Sourceval except : t -> bool

Indicates if an exceptional condition event has occurred.

Sourceval timeout : t -> bool

Indicates if a timeout has occurred.