reactor

package
v0.0.0-...-ec10170 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallFromThread

func CallFromThread(f func(...interface{}), args ...interface{})

func CallInThread

func CallInThread(f func(...interface{}), args ...interface{})

func Destroy

func Destroy()

func Initialize

func Initialize()

Types

type CallbackEvent

type CallbackEvent struct {
	core.QEvent
	// contains filtered or unexported fields
}

func NewCallbackEvent

func NewCallbackEvent(f func(...interface{}), args []interface{}) *CallbackEvent

type Invoker

type Invoker struct {
	core.QObject
}

type OnDone

type OnDone func()

type Pool

type Pool interface {
	Start()
	Stop()
	PostTask(task Task)
}

func NewPool

func NewPool(nWorkers int) Pool

type Task

type Task interface {
	Do()
}

Jump to

Keyboard shortcuts

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