bus

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Publish

func Publish(event eventbus.Event)

Publish an event onto the bus. If there is no bus set by the calling application, this does nothing.

func SetPublisher

func SetPublisher(p eventbus.Publisher)

SetPublisher sets the singleton event bus publisher. This is optional; if no bus is provided, the library will behave no differently than if a bus had been provided.

Types

This section is empty.

Jump to

Keyboard shortcuts

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