Spear.update_persistent_subscription

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

update_persistent_subscription(conn, stream_name, group_name, settings, opts \\ [])

View Source (since 0.6.0)

Specs

update_persistent_subscription(
  connection :: Spear.Connection.t(),
  stream_name :: String.t(),
  group_name :: String.t(),
  settings :: Spear.PersistentSubscription.Settings.t(),
  opts :: Keyword.t()
) :: :ok | {:error, any()}

Updates an existing persistent subscription

See Spear.PersistentSubscription.Settings.t/0 for more information.

Options

Options are passed to request/5.

Examples

iex> Spear.update_persistent_subscription(conn, "my_stream", "my_group", %Spear.PersistentSubscription.Settings{})
:ok