Spear.ping

You're seeing just the function ping, go back to Spear module for more information.
Link to this function

ping(conn, timeout \\ 5000)

View Source (since 0.1.2)

Specs

ping(connection :: Spear.Connection.t(), timeout()) :: :pong | {:error, any()}

Pings a connection

This can be used to ensure that the connection process is alive, or to roughly measure the latency between the connection process and EventStoreDB.

Examples

iex> Spear.ping(conn)
:pong