# SubscriptionChange

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