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.

18 lines (10 loc) 500 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; [IWorkerPool](./rc-js-util.iworkerpool.md) &gt; [hasPendingWork](./rc-js-util.iworkerpool.haspendingwork.md) ## IWorkerPool.hasPendingWork() method True if there is any job which has yet to be run. The answer is guaranteed correct on the producer thread. **Signature:** ```typescript hasPendingWork(): boolean; ``` **Returns:** boolean