worker_pool 0.0.2
worker_pool: ^0.0.2 copied to clipboard
A Dart/Flutter package for managing a pool of isolates to execute tasks concurrently, with support for resource management, constant sharing, and proper cleanup.
0.0.2 #
- Changed default
poolSizeto be the number of CPU cores on the device. - Replaced all
printanddebugPrintcalls with a structuredLogutility.
0.0.1 #
- Initial release of Worker Pool package
- Implemented isolate pool management for concurrent task execution
- Added support for resource management with custom initializers and finalizers
- Implemented constant sharing between main thread and isolates
- Added automatic task queuing when all isolates are busy
- Implemented configurable timeout handling for task execution
- Added health monitoring with automatic worker restart
- Implemented function registration system for isolate execution
- Added pool statistics for performance monitoring
- Created comprehensive unit tests for all core functionality
- Added detailed documentation in both English and Chinese