LoopEventsExtension extension
Extension providing additional loop event methods for GetInterface.
- on
Methods
-
asap<
T> (T computation(), {bool condition()?}) → FutureOr< T> -
Available on GetInterface, provided by the LoopEventsExtension extension
Executes the given computation as soon as possible, optionally based on a condition. -
toEnd<
T> (FutureOr< T> computation()) → Future<T> -
Available on GetInterface, provided by the LoopEventsExtension extension
Delays the execution of the given computation until the end of the event loop.