Changes
- Expose
Stopped() boolmethod in pools to indicate whether the pool has been stopped or its associated context has been cancelled.
Fixes
- Ensure
ErrPoolStoppederror is always returned when attempting to submit a task to a pool that has been stopped or its associated context cancelled.