package mariadb

  1. Overview
  2. Docs
type t

The type of a nonblocking operation status.

val 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.

val read : t -> bool

Indicates if a read event has occurred.

val write : t -> bool

Indicates if a write event has occurred.

val except : t -> bool

Indicates if an exceptional condition event has occurred.

val timeout : t -> bool

Indicates if a timeout has occurred.