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

- **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#L66
- **Page:** https://libtmux.org/en/scala/latest/reference/io-github-libtmux-scaladsl-live-liveview-awaitnewer/

```
extension (self: LiveView)
def awaitNewer(
        epoch: Long,
        timeout: Duration
    ): Option[JavaServerMirror.View]
```

Waits for a view newer than `epoch`, or empty when `timeout` passed first or this mirror ended; [[isEnded]] and [[cause]] tell those apart.

## Parameters

- `epoch` (`Long`)
- `timeout` (`Duration`)
