Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventQueue ¶
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{})
Click to show internal directories.
Click to hide internal directories.