Offload tasks to a pool of workers on node.js and in the browser
Overall
score
95%
Dedicated worker scripts
Worker function registration
100%
100%
Progress event emission
100%
100%
Pool creation with script
100%
100%
Named method execution
100%
100%
Event listener setup
100%
100%
Pool termination
100%
100%
Worker pool creation and configuration
Pool creation using workerpool.pool()
100%
100%
minWorkers configuration
100%
100%
maxWorkers configuration
100%
100%
maxQueueSize configuration
100%
100%
workerType configuration
100%
100%
Stats retrieval
100%
100%
Pool termination
100%
100%
Task timeouts
Worker Pool Creation
100%
100%
Task Execution
100%
100%
Timeout Configuration
100%
100%
Timeout Error Handling
0%
0%
Pool Termination
100%
100%
Task cancellation
Worker Pool Creation
100%
100%
Task Execution
100%
100%
Cancel Method Usage
100%
100%
Timeout Method Usage
0%
100%
CancellationError Handling
0%
100%
TimeoutError Handling
0%
100%
Advanced Promise features
Worker pool creation
100%
100%
Promise.all() usage
0%
100%
Task cancellation
100%
100%
CancellationError detection
100%
100%
Timeout implementation
100%
100%
TimeoutError detection
100%
100%
Cleanup operations
100%
80%
Worker proxy creation
Worker pool creation
100%
100%
Worker method registration
100%
100%
Proxy creation
100%
100%
Method invocation via proxy
100%
100%
Pool termination
100%
100%
Transferable objects
Pool Creation
100%
100%
Worker Registration
100%
100%
Transfer Class Usage
0%
0%
Return Transfer
0%
100%
Task Execution
100%
100%
Buffer Processing
100%
100%
Pool Termination
100%
100%
Task execution via pool.exec()
Pool creation
100%
100%
Dynamic function execution
0%
100%
Function parameters
100%
100%
Promise handling
100%
100%
Error propagation
100%
100%
Pool termination
100%
100%
Event emission from workers
Creates worker pool
0%
100%
Implements worker script
100%
100%
Emits events from worker
100%
100%
Handles events in main thread
0%
100%
Executes tasks via pool.exec()
0%
100%
Worker crash recovery
Pool Creation
100%
100%
Worker Script Implementation
100%
100%
Task Execution
100%
100%
Crash Simulation
100%
100%
Error Handling
33%
100%
Pool Resilience
80%
100%
Pool Cleanup
100%
100%
Install with Tessl CLI
npx tessl i tessl/npm-workerpoolTable of Contents