once method

Listener<T> once(
  1. T event,
  2. EventCallback callback
)

Implementation

Listener<T> once(T event, EventCallback callback) =>
    listen(event, callback, true);