basic_event_queue

package
v0.0.0-...-214a605 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventQueue

type EventQueue struct {
	sync.Once
	// contains filtered or unexported fields
}

func NewEventQueue

func NewEventQueue(queueSize int) *EventQueue

func (*EventQueue) MustPut

func (loop *EventQueue) MustPut(f func())

func (*EventQueue) Put

func (loop *EventQueue) Put(f func()) error

func (*EventQueue) Run

func (loop *EventQueue) Run()

func (*EventQueue) Stop

func (loop *EventQueue) Stop()

func (*EventQueue) StopAsync

func (loop *EventQueue) StopAsync() (done <-chan struct{})

Jump to

Keyboard shortcuts

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