Event Waiter Builder
Functions
Adds a precondition to this event waiter; the action won't be executed unless all your preconditions are met.
Suspends until the event waiter receives an event of the specified type, and all preconditions have passed.
Blocks until the event waiter receives an event of the specified type, and all preconditions have passed.
Sets the consumer called after the event waiter has been canceled.
Sets the consumer called after the event waiter has "completed," i.e., it has either been successfully run, or been canceled, or has been timeout.
Sets the consumer called after the event waiter has all its preconditions met and the task has not timeout nor been canceled.
Sets the consumer called when the event waiter has expired due to a timeout.
Sets the timeout for this event waiter; the action will no longer be usable after the time has elapsed.
Returns a CompletableFuture which is completed when the event waiter receives an event of the specified type, and all preconditions have passed.