combinedWorker<A, S> function

Worker<A, S> combinedWorker<A, S>(
  1. Iterable<Worker<A, S>> workers
)

Implementation

Worker<A, S> combinedWorker<A, S>(
  Iterable<Worker<A, S>> workers
) => worker((context, action) async {
  for (Worker<A, S> worker in workers) {
    await worker.work(context, action);
  }
});