bussignal

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: MIT, MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package bussignal is what lys-shell's D-Bus signal readers share beyond dbusx's watches: a watch as a feed of ticks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ticks

func Ticks(ctx context.Context, conn *dbus.Conn, from dbusx.Sender, what string, routes func(tick func()) []dbusx.Route) (ticks <-chan struct{}, stop func() error, err error)

Ticks is a watch as a feed of ticks: routes builds the watch's routes around tick, which a handler calls for a signal that changed what the caller reads. One tick is pending at most. The feed closes once the watch has ended, with ctx, with stop or with the connection; stop returns once the watch has taken its match rules off conn, with what Watch.Stop reports. A signal that does not decode is logged under what.

Types

This section is empty.

Directories

Path Synopsis
Package bussignaltest is a reader of signals for a test's own that keeps no descriptor.
Package bussignaltest is a reader of signals for a test's own that keeps no descriptor.

Jump to

Keyboard shortcuts

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