registerAll method

FutureOr<void> registerAll(
  1. Iterable<TPlugin> plugins
)

Implementation

FutureOr<void> registerAll(Iterable<TPlugin> plugins) {
  final sequential = Sequential();
  for (final plugin in plugins) {
    sequential.add((_) => register(plugin));
  }
  return sequential.last;
}