package
Version:
v1.26.1
Opens a new window with list of versions in this module.
Published: Sep 1, 2023
License: Apache-2.0
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.
Documentation
¶
Package stopqueue contains a structure for running stop functions in a specific order
Queue is a stack of stop functions that executes in LIFO order
func NewStopQueue() *Queue
NewStopQueue creates a new stop queue
Add appends the stop func onto the queue
StopAll runs all stop funcs and clears queue.
Returns all errors encountered
StopFunc is a function that defines how to stop
Source Files
¶
Click to show internal directories.
Click to hide internal directories.