Skip to content

v1.0.2

Latest

Choose a tag to compare

@Alessio-Marchese Alessio-Marchese released this 15 Sep 23:08

πŸ§ͺ Added Testing + Minor fixes v1.0.2

Fixes

  • Modified Async and Sync pool to public
  • Also modified visibility of Async and Sync pool from inside HybridPool
  • TaskInfo properties are now read only
  • TaskItem now accept only not null Func or Action
  • Changed visibility of hooks to private

Test Coverage

  • βœ… Factory Methods - Pool creation with different configurations
  • βœ… Async Task Execution - Task enqueueing and execution
  • βœ… Sync Action Execution - Action enqueueing and execution
  • βœ… Pending Work Count - Queue monitoring and statistics
  • βœ… Elastic Workers - Dynamic worker management
  • βœ… Callback System - Lifecycle event handling
  • βœ… Concurrent Execution - Multi-threaded task processing
  • βœ… Weight Priority - Task prioritization system
  • βœ… Resource Management - Proper disposal and cleanup
  • βœ… Edge Cases - Error handling and boundary conditions
  • βœ… Options Validation - Configuration parameter validation
  • βœ… TaskInfo & TaskItem - Data structure functionality

Running Tests

cd Tests
dotnet test --verbosity normal

Test-Driven Development

The test suite ensures:

  • Correctness of the hybrid pool logic
  • Thread safety in concurrent scenarios
  • Resource management and proper cleanup
  • Configuration validation and error handling
  • Performance characteristics under load

What's Changed

Full Changelog: v1.0.1...v1.0.2