feature request: support "pinning" tasks to workers
Open
- Dominant language
- TypeScript
- Stars
- 3.5k
- Forks
- 173
- PR merge metrics
- No merged PRs in 30d
Description
When workers are spawned, allow specifying a "key" (string) for each. When tasks are queued, accept a zero arity function returning a key. If the key returned matches any of the keys supplied when the workers were spawned, ensure that the task is scheduled on the matching worker.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.