canceller

package
v4.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cancellable

type Cancellable func() error

type Canceller

type Canceller struct {
	// contains filtered or unexported fields
}

func (*Canceller) Cancel

func (c *Canceller) Cancel(ids ...uint64) error

func (*Canceller) Discard

func (c *Canceller) Discard(id uint64)

func (*Canceller) Register

func (c *Canceller) Register(id uint64, cancel Cancellable)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL