Session.RefreshAsync
Re-reads this session from tmux.
Source and package
- Qualified name
-
LibTmux .Session. Refresh Async - Namespace
- LibTmux
- Declared in
Session- Package
- LibTmux
- Source
- src/LibTmux/Session.Lifecycle.cs
- async Task<Session> RefreshAsync( Cancellation
Token cancellationToken = default ) -
- Parameters
-
-
cancellationToken(CancellationToken ) – Cancels the tmux command.Default
default
-
- Returns
-
A replacement handle carrying current state.
Recorded calls
source callsThe C# reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.Session.RefreshAsync.
In other ports
task equivalence 7 other ports mappedSource-verified mappings for Read a session again. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.
| Port | API | Differs from C# |
|---|---|---|
| C# | Lib Re-reads this session from tmux. | This page |
| Python | libtmux Refresh session attributes from tmux. | None recorded in the model |
| TypeScript | session This session, read again at a new instant. | None recorded in the model |
| Rust | session Replace this handle's snapshot with the session's current state. | None recorded in the model |
| Go | tmux Refresh performs a canonical live lookup without mutating the receiver. | None recorded in the model |
| Java | io Takes a new capture and returns this session as it is now. | None recorded in the model |
| C++ | libtmux:: | readonly |
| Raku | Lib Acquire a fresh graph and require exactly one observed entity with this ID. | on SessionRef2 overloads |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
reads are snapshots; Server.snapshot() takes a new one rather than refreshing a handle
No direct public OCaml equivalent is recorded for this operation.
Acquire a new snapshot; retained captured entities never refresh in place.
No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.