crnt - v0.0.35
    Preparing search index...

    Function parallelMap

    • Convenient function to perform a concurrent map operation.

      options.signal and options.timeout apply to the whole call: when either triggers, the returned promise rejects immediately and items still waiting for a permit are not started. Calls to fn that are already running are not interrupted; they finish in the background and release their permits.

      Type Parameters

      • T
      • U

      Parameters

      Returns Promise<U[]>