function generateTasks(source, options) {
    assertPatternsInput(source);
    const patterns = [].concat(source);
    const settings = new settings$3.default(options);
    return tasks.generate(patterns, settings);
  }
The stream returned by the provider cannot work with an asynchronous iterator.
To support asynchronous iterators, regardless of the number of tasks, we always multiplex streams.
This affects performance (+25%). I don't see best solution right now.