Versions in this module Expand all Collapse all v0 v0.0.1 Feb 11, 2018 Changes in this version + var ErrTimedOut = errors.New("timed out") + func IsTimedOutErr(err error) bool + type Result struct + func NewResult(v interface{}) *Result + func (r *Result) Bool() bool + func (r *Result) Int() int + func (r *Result) IntSlice() []int + func (r *Result) Raw() interface{} + func (r *Result) String() string + func (r *Result) StringSlice() []string + type Task struct + func New(fn interface{}) *Task + func (t *Task) Done() + func (t *Task) Error(err error) + func (t *Task) Return(v interface{}) + func (t *Task) SetTimeout(timeout time.Duration) + func (t *Task) Start(args ...interface{}) + func (t *Task) Wait() (*Result, error)