onAppendFailure

abstract fun onAppendFailure(compensation: suspend () -> Unit)

Registers compensation to run when this attempt's events are surely not appended.