DBConnection.disconnect
You're seeing just the callback
disconnect
, go back to DBConnection module for more information.
Specs
disconnect(err :: Exception.t(), state :: any()) :: :ok
Disconnect from the database. Return :ok
.
The exception as first argument is the exception from a :disconnect
3-tuple returned by a previous callback.
If the state is controlled by a client and it exits or takes too long
to process a request the state will be last known state. In these
cases the exception will be a DBConnection.ConnectionError
.
This callback is called in the connection process.