Registry / utility / panjf2000-ants

panjf2000-ants

JSON →
library1.3.0gogounverified

A high-performance goroutine pool for Go, managing concurrent task execution.

go get github.com/panjf2000/ants
INSTALL
IMPORT
SIG · PANJF2000-ANTS
P
panjf2000-ants
utilitygov1.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ants
github.com/panjf2000/ants

Create a goroutine pool and submit a task.

package main import ( "fmt" "github.com/panjf2000/ants" ) func main() { pool, _ := ants.NewPool(10) defer pool.Release() pool.Submit(func() { fmt.Println("Hello from ants!") }) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
panjf2000-ants — go get panjf2000-ants · libregistry