Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 701 Bytes

File metadata and controls

29 lines (20 loc) · 701 Bytes

Home > @velcro/common > all

all() function

Signature:

declare function all<T extends [
    unknown
] | unknown[]>(values: T, token: CancellationToken): Promise<{
    [P in keyof T]: Awaited<T[P]>;
}> | {
    [P_1 in keyof T]: Awaited<T[P_1]>;
};

Parameters

Parameter Type Description
values T
token CancellationToken

Returns:

Promise<{ [P in keyof T]: Awaited<T[P]>; }> | { [P_1 in keyof T]: Awaited<T[P_1]>; }