ReadonlyinboxReadonlyoutboxOptional Readonlyexclusivetrue when only one process can use the backend at a time (memory, file). A restarted
process then knows every lease of its instanceId is its own dead incarnation's.
ReadonlyinnerThe wrapped backend (what survives the crash).
ReadonlycrashedTrue once crashed.
ReadonlywhenResolves when the crash happens.
ReadonlycallsNumber of calls of each operation so far.
OptionalstartCalled by bot.start() before anything is replayed.
OptionalstopCalled by bot.stop() after the provider stopped.
Crash now: every later call hangs forever.
Crash when the nth (default 1st) call of op starts, before it reaches the backend.
Optionalnth: numberCrash when the nth (default 1st) call of op committed, before its caller sees the result.
Optionalnth: numberOptionalscopeA crashable view of inner.scope(name) sharing this wrapper's crash state and counters.
A DurabilityBackend that can be crashed (see crashable).