• Type Parameters

    • Input

    Parameters

    • elements: readonly Input[]

    Returns <Output>(
        closure: (
            elem: Input,
            index: number,
            array: readonly Input[],
        ) => Promise<Output>,
    ) => Promise<Output[]>