Expand description
The outbox: enqueue on the request path, deliver off it.
Structs§
- Drain
Ctx - Context the worker needs that is not in the database.
- Drain
Report - What one drain pass did.
Functions§
- drain
- Send every delivery that is due, up to
limit. - enqueue
- Queue
msgfor 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.