softkave-js-utils
Version:
JavaScript & Typescript utility functions, types, and classes
11 lines (10 loc) • 409 B
TypeScript
import { ValueOf } from 'type-fest';
export declare const kLoopAsyncSettlementType: {
/** `all` - uses `Promise.all()` */
readonly all: "a";
/** `allSettled` - uses `Promise.allSettled()` */
readonly allSettled: "s";
/** `oneByOne` - invokes and waits for `fn` one at a time */
readonly oneByOne: "o";
};
export type LoopAsyncSettlementType = ValueOf<typeof kLoopAsyncSettlementType>;