Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDeferred ¶
func AddDeferred(d DeferredAction)
AddDeferred adds d to the queue of deferred actions.
func ExecuteDeferred ¶
func ExecuteDeferred()
ExecuteDeferred processes the queue of deferred actions and executes them.
Types ¶
type DeferredAction ¶
type DeferredAction interface {
// Do executes the action.
Do()
}
A DeferredAction is an action that is executed at a later time.
Click to show internal directories.
Click to hide internal directories.