Sha256: d50f91ad0700c2252dbd5a9af8aedd26954bc0a97ec7a280513e4a179c096c09
Contents?: true
Size: 389 Bytes
Versions: 26
Compression:
Stored size: 389 Bytes
Contents
import type { ObjMap } from './ObjMap'; /** * This function transforms a JS object `ObjMap<Promise<T>>` into * a `Promise<ObjMap<T>>` * * This is akin to bluebird's `Promise.props`, but implemented only using * `Promise.all` so it will work with any implementation of ES6 promises. */ export declare function promiseForObject<T>( object: ObjMap<Promise<T>>, ): Promise<ObjMap<T>>;
Version data entries
26 entries across 26 versions & 1 rubygems