event

package
v0.0.0-...-ca1a302 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2021 License: MIT Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL