• Runs the given array of tasks in parallel.

    Type Parameters

    • T

    Parameters

    Returns Promise<T>[]

    An array of promises that resolve to results, in the same order as tasks.