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.

47 lines (23 loc) 757 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; [INonblockingPoll](./rc-js-util.inonblockingpoll.md) ## INonblockingPoll interface Provides a way to poll without busy waiting. Useful for synchronization with workers, particularly with shared memory. **Signature:** ```typescript export interface INonblockingPoll ``` ## Methods <table><thead><tr><th> Method </th><th> Description </th></tr></thead> <tbody><tr><td> [cancel()](./rc-js-util.inonblockingpoll.cancel.md) </td><td> </td></tr> <tr><td> [getPromise()](./rc-js-util.inonblockingpoll.getpromise.md) </td><td> </td></tr> </tbody></table>