# session.Session.refreshed

- **Module:** session.Session
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/session.rs#L506
- **Page:** https://libtmux.org/reference/rs/session-session-refreshed/

```
session.Session.refreshed(self) -> Result<Self, Error>
```

Return a new handle holding the session's current state.

# Errors

Returns [`Error::ObjectGone`] when the session no longer exists, or a
listing error when tmux could not be read.
