Class AsyncAwaitingEventChannel
java.lang.Object
app.dodb.smd.api.event.channel.AsyncAwaitingEventChannel
- All Implemented Interfaces:
EventChannel, SubscribableEventChannel
-
Method Summary
Modifier and TypeMethodDescription<E extends Event>
voidsend(EventMessage<E> eventMessage) voidsubscribe(EventChannelListener listener) static AsyncAwaitingEventChannelusing(ExecutorService executorService) static AsyncAwaitingEventChannelusing(ExecutorService executorService, List<EventInterceptor> interceptors) static AsyncAwaitingEventChannelstatic AsyncAwaitingEventChannelusingVirtualThreads(List<EventInterceptor> interceptors)
-
Method Details
-
usingVirtualThreads
-
usingVirtualThreads
-
using
-
using
public static AsyncAwaitingEventChannel using(ExecutorService executorService, List<EventInterceptor> interceptors) -
send
- Specified by:
sendin interfaceEventChannel
-
subscribe
- Specified by:
subscribein interfaceSubscribableEventChannel
-