# Functions
NewGracefulContext will create a GracefulContext with an idle time which should be longer than a typical operation cadence, and a "force after" duration which should be long enough to let some amount of operations to finish.
NewOutboxWithClient creates a new Outbox with a client.
NewOutbox creates a new Outbox with a MongoDB URI: `mongodb://hostname`.
NewOutboxWithClient creates a new Outbox with a client.
WithCollectionName uses different collections from the default "outbox" collection.
WithPeriodicCleanupAge sets the age at which the periodic cleanup is run.
WithPeriodicSweepAge sets the age at which the periodic sweep is run.
WithPeriodicSweepInterval sets the interval at which the periodic sweep is run.
WithWatchToken sets a token, used for watching outbox events stored with the same token.
# Structs
GracefulContext is a context that can be gracefully cancelled after the original context has been canceled, but with a grace period to let operations finish.
Outbox implements an eventhorizon.Outbox for MongoDB.
# Type aliases
Option is an option setter used to configure creation.