CHR0074: Reactor batch method must return Task or void
Rule description
Section titled “Rule description”A per-event reactor method can return events and other side effects, because each is tied to the one event it came from. A batch method has no such single event, so returning side effects from it is not supported. Chronicle refuses to register a reactor whose batch method returns anything but Task or void.
Severity
Section titled “Severity”Error
How to fix
Section titled “How to fix”Return Task or void. When the batch must append events, inject an event log into the reactor and append through it.
Related rules
Section titled “Related rules”- CHR0054: Reactor method has an unsupported return type.