SubscriptionChange
One report that a subscribed format's value changed.
Source and package
- Qualified name
-
SubscriptionChange - Package
- libtmux-swift
- Source
- Sources/LibTmux/Watch.swift
- struct SubscriptionChange : struct Subscription
Change -
Description#
tmux sends the value it changed to, not what it changed from, and sends the current value once when the subscription is created. A watcher therefore learns the starting value without asking for it.
Members8#
- init(_:) method Reads a
%subscription-changednotification, ornilfor any other. - init(name:sessionID:windowID:windowIndex:paneID:value:) method
- name: let name: String property Which
FormatSubscriptionthis belongs to. - paneID: let pane
ID : PaneID ? property Absent when the subscription's scope is a session or a window. - sessionID: let session
ID : SessionID property - value: let value: String property What the format evaluates to now.
- windowID: let window
ID : WindowID ? property Absent when the subscription's scope is a session. - windowIndex: let window
Index : Int? property
Inherited members2 members#
Reached through Equatable.!=(_:_:), Decodable.init(from:).
- !=(_:_:) function inherited Returns a Boolean value indicating whether two values are not equal.
- init(from:) method inherited Creates a new instance by decoding from the given decoder.
Guides#
Pages that discuss SubscriptionChange.