Registry / utility / jeffail-tunny

jeffail-tunny

JSON →
library0.1.4gogounverified

A goroutine pool for Go.

go get github.com/Jeffail/tunny
INSTALL
IMPORT
SIG · JEFFAIL-TUNNY
J
jeffail-tunny
utilitygov0.1.4
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.

tunny
github.com/Jeffail/tunny

Create a goroutine pool and process a task.

package main import ( "fmt" "github.com/Jeffail/tunny" ) func main() { pool := tunny.NewFunc(4, func(payload interface{}) interface{} { return payload }) defer pool.Close() result := pool.Process("hello") fmt.Println(result) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
jeffail-tunny — go get jeffail-tunny · libregistry