Neodriver_eio.StateBolt server-state machine.
Bolt server-state machine.
See state.ml for the implementation.
The server state after message is handled. With re_auth=true (Bolt >= 5.1) HELLO enters Authentication and LOGON/LOGOFF move between Authentication and Ready; with re_auth=false HELLO carries the credentials and enters Ready. A Pull or Discard with has_more=true keeps the state at Streaming.
val failed : t -> boolWhether the server is in the Failed state (a RESET is needed before the next request).
val ready : t -> boolWhether the server is in the Ready state.