UNPKG

promisary

Version:

A growing collection of utilities to make working with Promises easier and cleaner.

12 lines 325 B
type SettledResult<T> = { state: 'fulfilled'; value: T; } | { state: 'rejected'; reason: any; }; export declare function hashSettled<T extends Record<string, any>>(obj: T | null | undefined): Promise<{ [K in keyof T]: SettledResult<Awaited<T[K]>>; }>; export {}; //# sourceMappingURL=hash-settled.d.ts.map