addMonitor

open override fun addMonitor(monitor: SagaMonitor)

Add a monitor to observe saga events.

Monitors are notified of all saga lifecycle events in the order they were added.

Parameters

monitor

The monitor to add