install

fun install(store: EventStore)

Installs an EventStore that will receive all terminal state events. Terminal states are: TaskState.Success, TaskState.Cancelled, and TaskState.Failed with willRetry = false.

Call once at app startup, before replayPendingEvents.