broadcast

package
v1.5.7 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: MIT Imports: 1 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Broadcast

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

Broadcast implements notifying waiters via a channel.

The zero-value of this struct is valid.

func (*Broadcast) Broadcast

func (c *Broadcast) Broadcast()

func (*Broadcast) GetWaitCh

func (c *Broadcast) GetWaitCh() <-chan struct{}

GetWaitCh returns a channel that is closed when Broadcast is called.

Jump to

Keyboard shortcuts

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