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 Do func NewDo() *Do func (o *Do) Cancel() func (o *Do) Do() bool func (o *Do) Notify() func (o *Do) Sleep(timeout time.Duration) func (o *Do) 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 Do ¶ type Do struct { // contains filtered or unexported fields } func NewDo ¶ func NewDo() *Do func (*Do) Cancel ¶ func (o *Do) Cancel() func (*Do) Do ¶ func (o *Do) Do() bool func (*Do) Notify ¶ func (o *Do) Notify() func (*Do) Sleep ¶ func (o *Do) Sleep(timeout time.Duration) func (*Do) Stop ¶ func (o *Do) Stop() Source Files ¶ View all Source files await.go do.go Click to show internal directories. Click to hide internal directories.