- Introduced an `OnCompleteCallback` type and updated the `Pool` struct to include an optional callback for execution completion. - Implemented `SetOnComplete` method to allow setting the completion callback. - Enhanced worker execution logic to notify the completion callback with the execution status (success, failure, or cancellation) after each execution, improving tracking and management of execution states. |
||
|---|---|---|
| .. | ||
| goroutine_test.go | ||
| pool.go | ||
| pool_test.go | ||
| queue.go | ||
| queue_test.go | ||
| worker.go | ||
| worker_test.go | ||