package
Version:
v0.4.1
Opens a new window with list of versions in this module.
Published: Aug 29, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Pool is a worker pool bind with some idle goroutines.
New creates a new worker pool.
Go creates/reuses a worker to run task.
Size returns the number of the running workers.
Task is the function that the worker will execute.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.