package
Version:
v0.0.0-...-c18a219
Opens a new window with list of versions in this module.
Published: Nov 20, 2023
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
Documentation
¶
Count call fn with recover, and process WaitGroup automatically.
Pipeline calls all functions in order. If a function returns an error, Pipeline will return this error immediately.
Safe call fn with recover.
type Canceler interface {
Cancel()
}
Schedule call fn with recover continuously. It returns a Canceler that can
be used to cancel the call using its Cancel method.
Pool is a simple goroutine pool.
Put submits the job to pool.
Stop shuts down the pool. Stop won't interrupt the running jobs.
Wait waits the running jobs to finish.
type Recovery func(e interface{})
Source Files
¶
Click to show internal directories.
Click to hide internal directories.