method libtmux-dotnet latest
Session.RefreshAsync
Re-reads this session from tmux.
Source and package
- Module
- LibTmux
- Declared in
- Session
- Package
- LibTmux
- Source
- src/LibTmux/Session.Lifecycle.cs
- Other languages
- Python Ruby Lua TypeScriptRustGoJavaC++ Swift Kotlin Scala F#
- RefreshAsync ( cancellationToken : Cancellation
Token ) Task<Session> -
- Parameters
-
-
cancellationToken ( Cancellation
Token ) – Cancels the tmux command.
-
- Returns
-
A replacement handle carrying current state.
In other ports Read a session again
- Python
libtmux.Session.refresh - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript
session.Session.refreshed - Rust
session.Session.refresh - Go
tmux.Session.Refresh - Java
io.github.libtmux.Session.refresh - C++
libtmux::Session::refresh - Swift reads are snapshots;
Server.snapshot()takes a new one rather than refreshing a handle - Kotlin No source-verified Kotlin equivalent is recorded for this operation.
- Scala No source-verified Scala equivalent is recorded for this operation.
- F# No source-verified F# equivalent is recorded for this operation.