bus

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exit added in v0.2.0

func Exit()

func ExitWithInterrupt added in v0.2.0

func ExitWithInterrupt()

func Get

func Get() partybus.Publisher

func Notify added in v0.2.0

func Notify(message string)

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 PublishTask added in v0.2.0

func PublishTask(titles event.Title, context string, total int) *event.ManualStagedProgress

func Report added in v0.2.0

func Report(report string)

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