Skip to content

CHR0074: Reactor batch method must return Task or void

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.

Error

Return Task or void. When the batch must append events, inject an event log into the reactor and append through it.

  • CHR0054: Reactor method has an unsupported return type.