Versions in this module Expand all Collapse all v1 v1.0.1 Apr 30, 2024 Changes in this version + type Blocker interface + Block func(C <-chan struct{}) error + BlockOn func(waiter.Waitable, waiter.EventMask) bool + BlockWithTimeoutOn func(waiter.Waitable, waiter.EventMask, time.Duration) (time.Duration, bool) + Interrupt func() + Interrupted func() bool + UninterruptibleSleepFinish func(activate bool) + UninterruptibleSleepStart func(deactivate bool) + type Context interface + func Background() Context + func WithValue(parent Context, key, val any) Context + type NoTask struct + func (*NoTask) UninterruptibleSleepFinish(bool) + func (*NoTask) UninterruptibleSleepStart(bool) + func (nt *NoTask) Block(C <-chan struct{}) error + func (nt *NoTask) BlockOn(w waiter.Waitable, mask waiter.EventMask) bool + func (nt *NoTask) BlockWithTimeoutOn(w waiter.Waitable, mask waiter.EventMask, duration time.Duration) (time.Duration, bool) + func (nt *NoTask) Interrupt() + func (nt *NoTask) Interrupted() bool