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. |