Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

method libtmux-dotnet

Server.Chain

Begins a chain that runs its commands in one tmux invocation.

Source and package
Qualified name
LibTmux.Server.Chain
Namespace
LibTmux
Declared in
Server
Package
LibTmux
Source
src/LibTmux/Server.Chaining.cs

Description

This is the batched counterpart to the one-shot methods. Which one is in use is visible where the call starts rather than in an option, and nothing runs until the chain is executed.

Returns

An empty chain bound to this server.

Errors

Recorded calls

source calls
No call edges in the C# model.

The 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.Server.Chain.

Guides

task material

Pages that discuss Chain.

In other ports

task equivalence 4 other ports mapped

Source-verified mappings for Run several commands in one tmux invocation. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.

Run several commands in one tmux invocation in each port
PortAPIDiffers from C#
C# LibTmux.Server.Chain
Begins a chain that runs its commands in one tmux invocation.
This page
Rust server.Server.chain
Dispatch several commands as one tmux a \; b invocation.
async
Java io.github.libtmux.Server.chain
Starts a chain of commands where each one acts on what the last one made.
None recorded in the model
C++ libtmux::Server::run_chain
Run a chain.
readonly
Raku LibTmux::Server.run-batch
Run a declared batch with one observed incarnation and a shared deadline.
Returns per-operation evidence and partial results; this is not a transaction.
No Python equivalent.

no equivalent on Server

No Haskell equivalent.

No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.

No TypeScript equivalent.

no equivalent on Server

No Go equivalent.

no equivalent on Server

No Swift equivalent.

no equivalent on Server

No OCaml equivalent.

No direct public OCaml equivalent is recorded for this operation.

No Perl equivalent.

batch executes ordered independent requests, not a tmux command list in one invocation; command chaining is deferred.

No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.

Esc
Search in

Type to search.

Reference previewOpen reference