package
0.2.9
Repository: https://github.com/robertwtucker/spt-util.git
Documentation: pkg.go.dev

# Functions

NewEventBus creates a new EventBus.
NewEventChannel creates a new, unbuffered EventChannel.

# Constants

Events for demo init command.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Event holds the name of an event and its associated data.
EventBus stores the mapping of subscribers (instances of EventChannel) to a corresponding event name.

# Type aliases

CallbackFunction defines a callback function for the named Event.