EventProcessor

internal interface EventProcessor

Handles incoming events from remote.

See also

Inheritors

Properties

Link copied to clipboard
abstract var disableEventProcessing: Boolean

When enabled events will be consumed but no event processing will occur.

Functions

Link copied to clipboard
abstract suspend fun processEvent(eventEnvelope: EventEnvelope): <Error class: unknown class><<Error class: unknown class>, Unit>

Process the eventEnvelope, persisting the last processed event ID if the event is not transient (see EventDeliveryInfo.isTransient). If the processing fails, the last processed event ID will not be updated.