onceFilter method

void onceFilter(
  1. EventFilter<_EventFilterImpl> filter,
  2. Function listener
)

Add a listener to be triggered once for filter;

Implementation

void onceFilter(EventFilter filter, Function listener) =>
    on(filter.impl, listener);