641 B
641 B
Goroutines pool with priority queue buffer.
Overview
Package priopool
provides goroutines pool based on
panjf2000/ants library with priority queue
buffer based on stdlib heap package.
Priority pool:
- is non-blocking,
- prioritizes tasks with higher priority value,
- can be configured with unlimited queue buffer.
Install
go get -u github.com/alexvanin/priopool
License
Source code is available under the MIT License.