closer

package
v0.0.0-...-9d214e5 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsChannelClosed

func IsChannelClosed[T any](in <-chan T) bool

Types

type Close

type Close interface {
	Close() error
}

func CloseOnce

func CloseOnce(c Close) Close

type MultiCloser

type MultiCloser interface {
	Close
	With(closers ...Close) MultiCloser
}

func NewMultiCloser

func NewMultiCloser(closers ...Close) MultiCloser

Jump to

Keyboard shortcuts

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