Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsCompleted ¶
Sends each future as it completes on the returned chan, closing it when everything has been sent.
func AsCompletedDelayed ¶
Returns futures as they complete. Delayed futures are not released until their timeout has passed, or all prior delayed futures, and the initial set have completed. One use case is to prefer the value in some futures over others, such as hitting several origin servers where some are better informed than others.
Types ¶
type F ¶
type F struct {
// contains filtered or unexported fields
}
func StartNoError ¶
func StartNoError(fn func() interface{}) *F
func (*F) MustResult ¶
func (f *F) MustResult() interface{}
func (*F) ScanResult ¶
Click to show internal directories.
Click to hide internal directories.