drain

package
v0.19.1069 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Drainer

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

func New

func New() *Drainer

func (*Drainer) Drain

func (d *Drainer) Drain()

func (*Drainer) DrainCh

func (d *Drainer) DrainCh() <-chan struct{}

func (*Drainer) IsDraining

func (d *Drainer) IsDraining() bool

func (*Drainer) Register

func (d *Drainer) Register(ch <-chan struct{})

func (*Drainer) Wait

func (d *Drainer) Wait(timeout time.Duration) error

Jump to

Keyboard shortcuts

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