package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Jun 28, 2026
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package dispatch turns matched destinations into queued deliveries. It is
shared by the ingest path and by replay.
-
func Enqueue(ctx context.Context, store Enqueuer, event core.Event, isReplay bool, ...) (int, error)
-
func EnqueueOne(ctx context.Context, store Enqueuer, event core.Event, dest core.Destination, ...) (int, error)
-
type Enqueuer
Enqueue resolves the event to its source's destinations and queues an
immediately-due delivery for each. It returns the number of deliveries
queued.
EnqueueOne queues a delivery for a single destination, applying its filter.
It is used by replay targeting a specific destination.
Enqueuer is the slice of storage needed to queue deliveries.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.