notify

package
v0.0.0-...-2f66ebe Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CancellationChannel

type CancellationChannel struct {
	C      chan struct{}
	Reason error
	// contains filtered or unexported fields
}

func NewCancellationChannel

func NewCancellationChannel() *CancellationChannel

func NewCancellationChannelWithCallback

func NewCancellationChannelWithCallback(callback func()) *CancellationChannel

func (*CancellationChannel) Cancel

func (s *CancellationChannel) Cancel()

func (*CancellationChannel) CancelWithReason

func (s *CancellationChannel) CancelWithReason(reason error)

func (*CancellationChannel) IsCancelled

func (s *CancellationChannel) IsCancelled() bool

func (*CancellationChannel) WaitForCancellation

func (s *CancellationChannel) WaitForCancellation()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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