Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EventLoop ¶
func EventLoop(workerErrs <-chan error, signals <-chan os.Signal, subscription *partybus.Subscription, cleanupFn func(), uxs ...ui.UI) error
eventLoop listens to worker errors (from execution path), worker events (from a partybus subscription), and signal interrupts. Is responsible for handling each event relative to a given UI an to coordinate eventing until an eventual graceful exit.
func SetupSignals ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.