Documentation ¶ Index ¶ type Await func NewAwait() Await func (o *Await) Cancel() func (o *Await) Notify() func (o *Await) Wait() bool func (o *Await) WaitTimeout(timeout time.Duration) bool type Job func NewJob() *Job func (o *Job) Cancel() func (o *Job) Do() bool func (o *Job) Notify() func (o *Job) Sleep(timeout time.Duration) func (o *Job) Stop() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Await ¶ added in v0.1.67 type Await chan bool func NewAwait ¶ added in v0.1.68 func NewAwait() Await func (*Await) Cancel ¶ added in v0.1.67 func (o *Await) Cancel() func (*Await) Notify ¶ added in v0.1.67 func (o *Await) Notify() func (*Await) Wait ¶ added in v0.1.67 func (o *Await) Wait() bool func (*Await) WaitTimeout ¶ added in v0.1.67 func (o *Await) WaitTimeout(timeout time.Duration) bool type Job ¶ added in v0.2.2 type Job struct { // contains filtered or unexported fields } func NewJob ¶ added in v0.2.2 func NewJob() *Job func (*Job) Cancel ¶ added in v0.2.2 func (o *Job) Cancel() func (*Job) Do ¶ added in v0.2.2 func (o *Job) Do() bool func (*Job) Notify ¶ added in v0.2.2 func (o *Job) Notify() func (*Job) Sleep ¶ added in v0.2.2 func (o *Job) Sleep(timeout time.Duration) func (*Job) Stop ¶ added in v0.2.2 func (o *Job) Stop() Source Files ¶ View all Source files await.go job.go Click to show internal directories. Click to hide internal directories.