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.

19 lines (10 loc) 525 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [\_Promise](./rc-js-util._promise.md) &gt; [delay](./rc-js-util._promise.delay.md) ## \_Promise.delay property Returns a `Promise` which will resolve to `resolveWith` after a delay of `delay` (in milliseconds). **Signature:** ```typescript static readonly delay: typeof promiseDelay; ``` ## Remarks See [promiseDelay()](./rc-js-util.promisedelay.md)<!-- -->.