xprocess_abc

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Future

type Future interface {
	Cancel()
	Yield(data interface{}, fn ...interface{}) // async
	Await(val FutureValue, fn interface{})     // block
}

type FutureValue

type FutureValue interface {
	Err() error
	String() string
	Get() []reflect.Value
	Value(fn interface{})
}

type IPromise

type IPromise interface {
	Wait() error
	Cancelled() bool
	Value(fn interface{}) // block
}

Jump to

Keyboard shortcuts

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