emitter

package
v0.0.0-...-1472157 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrClosed = errors.New("streamwrite is closed")
)

Functions

This section is empty.

Types

type Emitter

type Emitter interface {
	Work(w io.StreamWriter) error
	Bus(w io.StreamWriter) (io.Bus, bool)
	Stop(w io.StreamWriter)
	StopAll()
}

Emitter receives new messages and emits through outlet.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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