Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SuccessChan ¶
type SuccessChan chan bool
func NewConditionalTimeoutContext ¶
func NewConditionalTimeoutContext(ctx context.Context, timeout time.Duration) (context.Context, context.CancelFunc, SuccessChan)
NewConditionalTimeoutContext returns a context which is cancelled when success is not reported within the specified timeout
Click to show internal directories.
Click to hide internal directories.