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
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [rc-js-util](./rc-js-util.md) > [IWorkerPool](./rc-js-util.iworkerpool.md) > [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