Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cancel ¶
type Cancel struct {
Cancel context.CancelFunc
Err error
}
type Future ¶
type Future interface {
Yield(data interface{}) // async
YieldFn(val FutureValue, fn interface{}) // block
}
type FutureValue ¶
type IPromise ¶
type IPromise interface {
Await() chan FutureValue
Map(fn interface{}) Value
}
Click to show internal directories.
Click to hide internal directories.