Class Events
- java.lang.Object
-
- io.quarkus.scheduler.common.runtime.Events
-
public final class Events extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <E> CompletionStage<E>fire(jakarta.enterprise.event.Event<E> event, E payload)Fires the CDI event synchronously and asynchronously.
-
-
-
Method Detail
-
fire
public static <E> CompletionStage<E> fire(jakarta.enterprise.event.Event<E> event, E payload)
Fires the CDI event synchronously and asynchronously.An exception thrown from the notification of synchronous observers is not re-thrown.
- Type Parameters:
E-- Parameters:
event-payload-- Returns:
- the completion stage from the asynchronous notification
-
-