Spear.set_node_priority
You're seeing just the function
set_node_priority
, go back to Spear module for more information.
Specs
set_node_priority( connection :: Spear.Connection.t(), priority :: integer(), opts :: Keyword.t() ) :: :ok | {:error, any()}
Sets the node priority number
See the EventStoreDB documentation for more information.
A user does not need to be in $ops
or any group to initiate this request.
Options
Options are passed to request/5
.
Examples
iex> Spear.set_node_priority(conn, 1)
:ok