# io.github.libtmux.scaladsl.live.LiveView.snapshots

- **Module:** io.github.libtmux.scaladsl.live
- **Package:** io.github.libtmux:libtmux-scala_3
- **Language:** Scala
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-java/blob/f56392b5d9bc7f1f9c1631842333fb90f3d82d40/libtmux-scala/src/main/scala/io/github/libtmux/scaladsl/live/LiveView.scala#L88
- **Page:** https://libtmux.org/en/scala/latest/reference/io-github-libtmux-scaladsl-live-liveview-snapshots/

```
extension (self: LiveView)
def snapshots: Iterator[JavaServerMirror.View]
```

The current view, then every newer one, one per notification, blocking between them: as a `StateFlow` or an fs2 `Signal` does. A change made before this call is in the first view rather than lost between reading [[current]] and starting to iterate. Ends when this view is closed, and throws [[cause]] when its anchor or server has gone.
