Concord.Sync.Dispatcher (Concord v3.0.2)

Copy Markdown View Source

Receives committed change events and forwards them to the Watch Hub and Change Log.

Summary

Functions

Returns a specification to start this module under a supervisor.

Dispatch events directly (called from state machine or tests).

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

dispatch(events)

@spec dispatch([Concord.Sync.Event.t()]) :: :ok

Dispatch events directly (called from state machine or tests).

start_link(opts \\ [])