StatefulEventWatcher

class StatefulEventWatcher<C, R, S : Any>(builder: StatefulSagaBuilder<C, R, S>)

Wrapper for the "events" keyword in monitor configuration.

Constructors

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

Functions

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

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