package
Version:
v0.0.0-...-3cf9108
Opens a new window with list of versions in this module.
Published: Jul 4, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
ErrNotRunning is the error with message "not running"
type Bus[T any] interface {
Publish(T) error
Subscribe(filter func(T) bool) <-chan T
Close()
Done() <-chan struct{}
}
Bus provides a general purpose interface for message passing
NewBus runs a new bus and returns bus details
Source Files
¶
Click to show internal directories.
Click to hide internal directories.