Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
This is the nonblocking MariaDB API. The interface contains a functor Make
which, given a way to wait for a connection socket to be ready for reading or writing, returns a module with the same signature S
as the traditional blocking API.
module Status : sig ... end
val fd : t -> Unix.file_descr
The underlying file descriptor of the database connection.
val timeout : t -> int
If a nonblocking operation returns a Status.t
indicating a timeout event, this function can be used to obtain the value, in seconds, after which the timeout has occured.
val timeout_ms : t -> int
Same as timeout
but with millisecond resolution.
module type Wait = sig ... end
Input module signature for the functor that generates a nonblocking connection module.
module type S = sig ... end