UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

9 lines 294 B
/** * @public * Returns a `Promise` which will resolve to `resolveWith` after a delay of `delay` (in milliseconds). * * @remarks * See {@link promiseDelay}. */ export declare function promiseDelay<T>(resolveWith: T, delay?: number): Promise<T>; //# sourceMappingURL=promise-delay.d.ts.map