Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultTimeout = 5 * time.Second
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Future ¶
type Future struct {
// contains filtered or unexported fields
}
func (*Future) Await ¶
func (self *Future) Await() *FutureResult
type FutureErrorAbstract ¶
type FutureErrorAbstract interface {
Error() string
}
type FutureFunc ¶
type FutureResult ¶
type FutureResult struct {
// contains filtered or unexported fields
}
func (*FutureResult) Error ¶
func (self *FutureResult) Error() error
func (*FutureResult) Result ¶
func (self *FutureResult) Result() (interface{}, error)
func (*FutureResult) ResultWithFill ¶
func (self *FutureResult) ResultWithFill(r interface{}) error
r is &struct
type GoroutineInfanitePool ¶
type GoroutineInfanitePool struct{}
func (*GoroutineInfanitePool) Exec ¶
func (*GoroutineInfanitePool) Exec(exec func())
type MultipleFutureError ¶
type MultipleFutureError struct {
// contains filtered or unexported fields
}
func (*MultipleFutureError) Error ¶
func (self *MultipleFutureError) Error() string
Click to show internal directories.
Click to hide internal directories.