Session.LockAsync
Locks this session.
Source and package
- Qualified name
-
LibTmux .Session. Lock Async - Namespace
- LibTmux
- Declared in
Session- Package
- LibTmux
- Source
- src/LibTmux/Session.Lifecycle.cs
- Task LockAsync( Cancellation
Token cancellationToken = default ) -
- Parameters
-
-
cancellationToken(CancellationToken ) – Cancels the tmux command.Default
default
-
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.LockAsync.
tmux command
task materialThe tmux commands behind LockAsync.
tmux C API
task materialThe C declarations in tmux that implement these commands.
In other ports
task equivalence 4 other ports mappedSource-verified mappings for Lock every client attached to a session. 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 Locks this session. | This page |
| Python | libtmux Lock this session via $ tmux lock-session. | None recorded in the model |
| Rust | session Lock every client attached to this session. | async |
| Go | tmux Lock locks every client attached to the session identified by this handle's stable ID. Cancellation does not prove that tmux did not lock a client. | None recorded in the model |
| Raku | Lib Ask tmux to lock clients attached to this session. | on SessionRef |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
no equivalent on Session
no equivalent on Session
no equivalent on Session
no equivalent on Session
No direct public OCaml equivalent is recorded for this operation.
No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands.
No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.