exp: golang.org/x/exp/shiny/driver/internal/event Index | Files

package event

import "golang.org/x/exp/shiny/driver/internal/event"

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

Index

Package Files

event.go

type Deque Uses

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 Uses

func (q *Deque) NextEvent() interface{}

NextEvent implements the screen.EventDeque interface.

func (*Deque) Send Uses

func (q *Deque) Send(event interface{})

Send implements the screen.EventDeque interface.

func (*Deque) SendFirst Uses

func (q *Deque) SendFirst(event interface{})

SendFirst implements the screen.EventDeque interface.

Package event imports 1 packages (graph) and is imported by 3 packages. Updated 2017-10-03. Refresh now. Tools for package owners.