requestsOf

suspend fun requestsOf(result: Any?): List<CommandRequest<*>>

The command requests a saga's handler returned: nothing (null, Unit, an empty Mono), one CommandRequest, or several, as an Iterable (such as the list a Flux was collected into), a Sequence or a Flow, collected in order. Anything else is a handler that does not return command requests: an InvalidDerivedRequestException.