TmuxKeys.BindAsync
Binds a key to a tmux command.
Source and package
- Qualified name
-
LibTmux .Tmux Keys. Bind Async - Namespace
- LibTmux
- Declared in
TmuxKeys- Package
- LibTmux
- Source
- src/LibTmux/Keys/TmuxKeys.cs
- Task BindAsync( Bind
Key request, CancellationRequest Token cancellationToken = default ) -
- Parameters
-
-
request(BindKey ) – Which key, to what, and in which table.Request -
cancellationToken(CancellationToken ) – Cancels the tmux command.Default
default
-
- Returns
-
A task that completes once the binding is in place.
- Errors
-
-
Argument
Null –Exception requestis null.
-
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.TmuxKeys.BindAsync.
tmux command
task materialThe tmux commands behind BindAsync.
tmux C API
task materialThe C declarations in tmux that implement these commands.
In other ports
task equivalence 7 other ports mappedSource-verified mappings for Bind a key to a tmux command. 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 Binds a key to a tmux command. | This page |
| Python | libtmux Bind a key to a command via $ tmux bind-key. | on Server |
| Erlang | tmux Register commands in the native prefix table with default options. Performs I/O; see bind/4 for replacement, command parsing and future execution. | free function |
| Rust | server Bind a key in one key table. | asyncon Server |
| Go | tmux BindKey binds Key to Command in a tmux key table. An empty Command creates a no-op binding. It mutates the table; cancellation does not prove that tmux did not bind Key. | on Server |
| Java | io Binds a key to a tmux command, given as its words. | on Keys |
| C++ | libtmux:: Bind a key in a key table, and take a binding away again. | on Serverreadonly |
| Raku | Lib Bind a key to one command, with optional repeatability and literal note. | on KeyBindings |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
no equivalent on Server
no equivalent on Server
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, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.