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.