invoke

suspend fun invoke(rejected: CommandReceipt.Rejected<*>, context: SagaContext): List<Command<*>>

Calls the handler with rejected, of a command it handles, and the context the rejection is handled in (rejectionContextOf), in the caller's coroutine: running a blocking one elsewhere is the runtime's. A code the handler does not accept (CommandReceipt.Rejected.accept) fails the handling as a rejection no handler takes (UnacceptedRejectionHandlingException).