addAsyncListener method

Event addAsyncListener(
  1. EventAsyncFunction listener
)

Adds an asynchronous listener to the event.

Implementation

Event addAsyncListener(EventAsyncFunction listener) {
  _asyncListeners.add(listener);
  return this;
}