eventqueue

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event added in v0.0.13

type Event func()

Event represent some function

type EventQueue added in v0.0.13

type EventQueue interface {
	Add(Event) bool
	Pop() Event
	ClearAndStop()
}

EventQueue is the interface for managing a queue of functions

func New

func New() EventQueue

New returns a new instance of queue

Jump to

Keyboard shortcuts

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