syncutil

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 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 Cond

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

func New

func New() *Cond

func (*Cond) Broadcast

func (c *Cond) Broadcast()

func (*Cond) Close

func (c *Cond) Close() error

func (*Cond) NewSubscriber

func (c *Cond) NewSubscriber() *Subscriber

func (*Cond) Signal

func (c *Cond) Signal()

type Subscriber

type Subscriber struct {
	C <-chan struct{}
	// contains filtered or unexported fields
}

func (*Subscriber) Close

func (s *Subscriber) Close() error

Jump to

Keyboard shortcuts

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