Documentation ¶
Overview ¶
Package execqueue implements an ordered asynchronous queue for executing functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecQueue ¶
type ExecQueue struct {
// contains filtered or unexported fields
}
func (*ExecQueue) RunSync ¶
RunSync waits for the queue to be drained and then synchronously runs f. It returns an error if the queue is closed before f is run or ctx expires.
Click to show internal directories.
Click to hide internal directories.