Events Manager
Functions
Link copied to clipboard
abstract suspend fun getEventsInAuditLog(context: C, id: ModelID<Any>? = null, after: Instant = Instant.DISTANT_PAST, before: Instant = Instant.DISTANT_FUTURE): Iterable<AuditEntry>
Gets all possible events that are not tied to any specific model instance for a certain actor.
Link copied to clipboard
abstract fun subscribeToAvailableEvents(context: C, id: ModelID<Any>, minimumCheckInterval: Duration? = null): Flow<List<EventReference>>
Notifies when there is a change in which events an actor can trigger on a model.
Link copied to clipboard
abstract fun subscribeToAvailableVoidEvents(context: C, minimumCheckInterval: Duration? = null): Flow<Set<EventReference>>
Notifies when there is a change in which void-events an actor can trigger.