SubscriptionChange
Swift
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift
- Package
- libtmux-swift
- Source
- Sources/LibTmux/Watch.swift
- struct SubscriptionChange : struct SubscriptionChange
-
One report that a subscribed format's value changed.
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.
Discussed in Format-token fields
8 declared, 2 inherited
Members
- init(_:) method Reads a
%subscription-changednotification, ornilfor any other. - init(name:sessionID:windowID:windowIndex:paneID:value:) method
- name property Which
FormatSubscriptionthis belongs to. - paneID property Absent when the subscription's scope is a session or a window.
- sessionID property
- value property What the format evaluates to now.
- windowID property Absent when the subscription's scope is a session.
- windowIndex property
Inherited members
Reached through Equatable.!=(_:_:), Decodable.init(from:).
- !=(_:_:) Equatable.!=(_:_:) Returns a Boolean value indicating whether two values are not equal.
- init(from:) Decodable.init(from:) Creates a new instance by decoding from the given decoder.