Discover Packages
github.com/bigmate/runner
package
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Sep 18, 2022
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
runner
Runner is a "container" to run long running processes concurrently
Expand ▾
Collapse ▴
Documentation
¶
Runnable is the application interface, an object implementing this interface
should follow the context protocol
Runner is a parent app for apps to be run
NewRunner returns *Runner
Add adds the Runnable into collection of Apps to be run and is not thread safe
Run runs apps passed to the constructor concurrently,
if one of them fails all the other running apps will be terminated
by canceling context passed into their Run method
Source Files
¶
Click to show internal directories.
Click to hide internal directories.