org.enodeframework.eventing.ProcessingEvent.kt Maven / Gradle / Ivy
package org.enodeframework.eventing
/**
* @author [email protected]
*/
class ProcessingEvent(val message: DomainEventStream, val processContext: EventProcessContext) {
var mailbox: ProcessingEventMailBox? = null
fun complete() {
processContext.notifyEventProcessed()
if (mailbox != null) {
mailbox!!.completeRun()
}
}
}