Documentation
¶
Overview ¶
Package future implements future/promise primitives.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Value ¶
type Value struct {
// contains filtered or unexported fields
}
Value implements a future/promise for an arbitrary value.
func Immediate ¶
func Immediate(value interface{}) *Value
Immediate returns a Value which resolves to 'value'.
Click to show internal directories.
Click to hide internal directories.