package
Version:
v1.1.9
Opens a new window with list of versions in this module.
Published: Jan 7, 2023
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewRunner(f ...func(stop <-chan struct{})) *Runner
NewRunner makes a runner for the given function(s). The function(s) should loop until
the channel is closed.
func (r *Runner) Add(fn func(stop <-chan struct{}))
Source Files
¶
Click to show internal directories.
Click to hide internal directories.