eventloop

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 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 EventLoop

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

func NewEventLoop

func NewEventLoop() *EventLoop

func (*EventLoop) Post

func (s *EventLoop) Post(f func())

func (*EventLoop) PostHighPri

func (s *EventLoop) PostHighPri(f func())

func (*EventLoop) Run

func (s *EventLoop) Run()

func (*EventLoop) Send

func (s *EventLoop) Send(f func())

func (*EventLoop) SendHighPri

func (s *EventLoop) SendHighPri(f func())

func (*EventLoop) Stop

func (s *EventLoop) Stop()

type EventLoop2

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

func NewEventLoop2

func NewEventLoop2() *EventLoop2

func (*EventLoop2) PushHigh

func (l *EventLoop2) PushHigh(f func())

func (*EventLoop2) PushLow

func (l *EventLoop2) PushLow(f func())

func (*EventLoop2) Run

func (l *EventLoop2) Run()

func (*EventLoop2) SendHigh

func (l *EventLoop2) SendHigh(f func())

func (*EventLoop2) SendLow

func (l *EventLoop2) SendLow(f func())

func (*EventLoop2) Stop

func (l *EventLoop2) Stop()

Jump to

Keyboard shortcuts

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