Interface AwaitingEventExecutor<E>

Type Parameters:
E - event type
All Superinterfaces:
EventHandler<E>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface AwaitingEventExecutor<E> extends EventHandler<E>
An event handler that returns an EventTask to await on.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    execute(E event)
     
    @Nullable EventTask
    executeAsync(E event)