ExESDB.Repl.Subscriber (ex_esdb v0.0.12-alpha)

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

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start(subscription_name, start_from \\ 0, selector \\ "$all")

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

start_link(args)