ExESDBGater.Repl.Subscriber (ex_esdb_gater v0.1.19)

The Repl.Subscriber is a GenServer that:

- creates a permanent subscription to the store.
- subscribes to the events emitted by the store, by handling events directly.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start(subscription_name, stream, start_from \\ 0)

@spec start(
  subscription_name :: String.t(),
  stream :: String.t(),
  start_from :: integer()
) :: pid()

start_link(args)