public interface GenieEventBus
Modifier and Type | Method and Description |
---|---|
void |
publishAsynchronousEvent(@NonNull org.springframework.context.ApplicationEvent event)
Publish an event in a different thread than the calling thread.
|
void |
publishSynchronousEvent(@NonNull org.springframework.context.ApplicationEvent event)
Publish an event in the same thread as the calling thread.
|
void publishSynchronousEvent(@NonNull @NonNull org.springframework.context.ApplicationEvent event)
event
- The event to publishvoid publishAsynchronousEvent(@NonNull @NonNull org.springframework.context.ApplicationEvent event)
event
- The event to publish