# SubscriptionChange

- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-swift/blob/254f8b2be7eb60cacc3ffcb3ea8e456784f582df/Sources/LibTmux/Watch.swift#L58
- **Page:** https://libtmux.org/en/swift/latest/reference/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.

## Members

- `!=(_:_:)` (function): Returns a Boolean value indicating whether two values are not equal.
- `name` (property): Which ``FormatSubscription`` this belongs to.
- `sessionID` (property)
- `windowID` (property): Absent when the subscription's scope is a session.
- `windowIndex` (property)
- `paneID` (property): Absent when the subscription's scope is a session or a window.
- `value` (property): What the format evaluates to now.
- `init(name:sessionID:windowID:windowIndex:paneID:value:)` (method)
- `init(_:)` (method): Reads a `%subscription-changed` notification, or `nil` for any other.
- `init(from:)` (method): Creates a new instance by decoding from the given decoder.
