org.qi4j.library.eventsourcing.application.source
Interface ApplicationEventStream
- All Known Implementing Classes:
- AbstractApplicationEventStoreMixin
public interface ApplicationEventStream
Stream of event transactions. Registering with a stream will
allow the subscriber to get callbacks when new transactions
are available. The callbacks are done asynchronously.
registerListener
void registerListener(Output<TransactionApplicationEvents,? extends Throwable> listener)
unregisterListener
void unregisterListener(Output<TransactionApplicationEvents,? extends Throwable> listener)