DomainEventSink

interface DomainEventSink

Subscriber surface for DomainEvents. Implementations should be cheap and non-throwing — producers wrap emit in best-effort try/catch so a faulty sink cannot abort an on-chain operation that has already been submitted.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun emit(event: DomainEvent)