Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cancelable ¶
type Cancelable struct {
// contains filtered or unexported fields
}
func New ¶
func New(pCtx context.Context, fn func(canc *Cancelable)) *Cancelable
func (*Cancelable) Cancel ¶
func (c *Cancelable) Cancel(err error) bool
func (*Cancelable) Canceled ¶
func (c *Cancelable) Canceled() bool
func (*Cancelable) Ctx ¶
func (c *Cancelable) Ctx() context.Context
Click to show internal directories.
Click to hide internal directories.