event

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2018 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package event provides an infinitely buffered double-ended queue of events.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deque

type Deque struct {
	// contains filtered or unexported fields
}

Deque is an infinitely buffered double-ended queue of events. The zero value is usable, but a Deque value must not be copied.

func (*Deque) NextEvent

func (q *Deque) NextEvent() oswin.Event

NextEvent implements the oswin.EventDeque interface.

func (*Deque) Send

func (q *Deque) Send(event oswin.Event)

Send implements the oswin.EventDeque interface.

func (*Deque) SendFirst

func (q *Deque) SendFirst(event oswin.Event)

SendFirst implements the oswin.EventDeque interface.

Jump to

Keyboard shortcuts

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