bus

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get() partybus.Publisher

func Publish

func Publish(e partybus.Event)

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

func Set

func Set(p partybus.Publisher)

Set 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