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