Waiter<T> constructor
Waiter<T> ({
- _TOnErrorCallback? onError,
- List<
_TOperation< operations = const [],T> >
Creates a waiter to queue and manage deferred operations.
Implementation
Waiter({
_TOnErrorCallback? onError,
List<_TOperation<T>> operations = const [],
}) : _onError = onError,
_operations = [...operations];