notify

package
v2.329.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2021 License: Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notify

type Notify struct {
	L sync.Locker
	// contains filtered or unexported fields
}

func New

func New(l sync.Locker) *Notify

func (*Notify) Broadcast

func (n *Notify) Broadcast()

func (*Notify) Wait

func (n *Notify) Wait(ctx context.Context) (ok bool)

Jump to

Keyboard shortcuts

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