@event-driven-platform/operation-event-envelope-factory
v0.0.5
Published
Factory contracts and defaults for wrapping Operation events in execution-aware envelopes.
Readme
@event-driven-platform/operation-event-envelope-factory
Creates event envelopes from events emitted by an Operation result and the metadata of the executing Operation.
Installation
pnpm add @event-driven-platform/operation-event-envelope-factoryAPI
OperationEventEnvelopeFactory— factory contract used by execution orchestration.DefaultOperationEventEnvelopeFactory— default implementation that builds platformEventEnvelopevalues from Operation execution context.
Role
Runner uses this boundary before persisting emitted events to the Outbox. Operations emit events as data; they do not create messaging infrastructure records or publish events themselves.
Related documentation
See docs/architecture/README.md and docs/execution-public-api.md.
