Spear.restart_persistent_subscriptions

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

restart_persistent_subscriptions(conn, opts \\ [])

View Source (since 0.4.0)

Specs

restart_persistent_subscriptions(
  connection :: Spear.Connection.t(),
  opts :: Keyword.t()
) :: :ok | {:error, any()}

Restarts all persistent subscriptions

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.restart_persistent_subscriptions(conn)
:ok