CampaignFlow.MockServer.Webhooks.RetryScheduler (CampaignFlow Client v2.2.0)

View Source

Periodic GenServer that drains pending webhook events whose next_retry_at has elapsed.

Wakes every webhook_retry_interval_ms (default 5s) and asks the Dispatcher for due events, then delivers them concurrently via Task.Supervisor.async_stream_nolink/4 so a single slow receiver can't stall the rest of the tick.

Not started in :sync mode — see MockServer.Supervisor.

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_link(opts)