event

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2022 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 E

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

E is a communication utility for event notification.

func (*E) Set

func (e *E) Set()

Set marks this event as 'done' and wakes up all waiters.

func (*E) Wait

func (e *E) Wait() <-chan Signal

Wait returns a channel for waiting for the event.

type Signal

type Signal struct{}

Jump to

Keyboard shortcuts

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