EventWatcher

class EventWatcher<C, R>(builder: SagaBuilder<C, R>)

Wrapper for the "events" keyword in monitor configuration.

Constructors

Link copied to clipboard
constructor(builder: SagaBuilder<C, R>)

Functions

Link copied to clipboard
infix fun events(handler: (SagaEvent) -> Unit)

Adds a saga monitor with "watching events { ... }" syntax.