addAll<T> method
Adds multiple functions
to the queue for sequential execution. See
add.
Implementation
List<FutureOr<T>> addAll<T>(
Iterable<FutureOr<T> Function(dynamic previous)> functions, {
Duration? buffer,
}) {
final results = <FutureOr<T>>[];
for (final function in functions) {
results.add(add(function, buffer: buffer));
}
return results;
}