submit
Returns a CompletableFuture which is completed when the event waiter receives an event of the specified type, and all preconditions have passed.
Return
The CompletableFuture of this event waiter, can be canceled
Returns a CompletableFuture which is completed when the event waiter receives an event of the specified type, and all preconditions have passed.
The CompletableFuture of this event waiter, can be canceled