Skip to main content

Module worker

Module worker 

Source
Expand description

The outbox: enqueue on the request path, deliver off it.

Structs§

DrainCtx
Context the worker needs that is not in the database.
DrainReport
What one drain pass did.

Functions§

drain
Send every delivery that is due, up to limit.
enqueue
Queue msg for every enabled target subscribed to its event.
retry
Put a failed delivery back in the queue — the admin’s “try again”.
spawn_drain
Drain in the background, off the request path.