Future<void> loop( FutureOr<void> Function(T e) action, ) async { for (final item in this) { await action(item); } }