addEventAsync

open override fun addEventAsync(event: Event)

Asynchronously adds an event to the event log.

This calls addEvent in the CoroutineScope passed to SimpleEventLogger at construction time.

This is useful for code emitting events which do not want to wait until the event has been processed or written to persistent storage.

Parameters

event

The Event to be recorded.