# io.github.libtmux.scaladsl.cats.Server.snapshot

- **Module:** io.github.libtmux.scaladsl.cats
- **Package:** io.github.libtmux:libtmux-scala_3
- **Language:** Scala
- **Kind:** method
- **Source:** https://libtmux.org/en/scala/latest/reference/sources/libtmux-scala-cats/build/generated/sources/catalog/scala/operations/GeneratedOperations.scala
- **Page:** https://libtmux.org/en/scala/latest/reference/io-github-libtmux-scaladsl-cats-server-snapshot/

```
extension [F[_]](self: Server[F])(using F: _root_.cats.effect.Async[F])
def snapshot(): F[io.github.libtmux.snapshot.ServerSnapshot]
```

Captures the whole hierarchy in at most four listings, retrying once if the server is replaced.
