Interface AsynchronousEventConsumer<E extends AsyncEvent>

Type Parameters:
E - the event type

public interface AsynchronousEventConsumer<E extends AsyncEvent>
An asynchronous event consumer, which is responsible for continuing execution of the event
Author:
A248
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Acts on the event listened to, and resumes firing of event handlers in whichever context desired
  • Method Details

    • acceptAndContinue

      void acceptAndContinue(E event, EventFireController controller)
      Acts on the event listened to, and resumes firing of event handlers in whichever context desired
      Parameters:
      event - the event
      controller - the controller to use to resume firing of the event