replaying

inline fun <T> replaying(ref: AggregateRef, replay: () -> T): T

Runs replay, a replay of ref's history with no store, any failure of it an UnreplayableHistoryException, an Error of the application's code too (a NotImplementedError in its evolve, a stack overflow on this history), as a subscription's handler takes it: the aggregate is parked, and the walk or the rewrite goes on. But a cancellation, the node stopping mid-replay, which is not the aggregate's data, and a fatal error (NodeFatals.isFatal), which is the JVM's, are thrown as they are, so the work stops and parks nothing.