Collectable Reactively Result
代表 content 可能为一个反应式的结果,并且允许其在一个函数结束时进行收集。
首次结果收集应当由 EventDispatcher 推送结果之前即完成,因此 EventProcessor.push 的结果中不会出现从未收集过结果的 result。
Inheritors
Properties
当 content 的返回值为 reactive api 相关或异步结果相关的内容,且当前 EventResult 实例为 CollectableReactivelyResult 类型的时候, 处理器应当对这类相关的api进行收集。这通常使用在Java使用者或者与其他reactive API配合使用的时候。
EventResult.content 是否为空。
是否阻止下一个事件处理逻辑的执行。
Functions
收集 StandardEventResult.CollectableReactivelyResult.content 的结果并返回。 如果结果不可收集或不支持收集,则得到原值。
收集 StandardEventResult.CollectableReactivelyResult.content 的结果并返回。 如果结果不可收集或不支持收集,则得到原值。
收集 StandardEventResult.CollectableReactivelyResult.content 的结果并返回。 如果结果不可收集或不支持收集,则得到原值。
收集 StandardEventResult.CollectableReactivelyResult.content 的结果并返回。 如果结果不可收集或不支持收集,则得到原值。
Collects the result of a CollectableReactivelyResult by invoking the collectCollectableReactively() method and returning the result as an EventResult.
当响应式结果 content 被收集完毕后通过 collected 提供其收集的结果 collectedContent, 并作为一个新的 EventResult 结果提供.
Collects the event result. This method is suspending and can be used in a coroutine.