Core LibraryalphaAPI 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.

method libtmux-cxx latest

Server.over

A Server over a transport the caller supplies.

Source and package
Qualified name
libtmux::Server::over
Namespace
libtmux
Declared in
Server
Package
libtmux-cxx
Source
include/libtmux/server.hpp
[[C++ nodiscard attributeAsks the compiler to warn when a result is discarded. An explicit cast to void acknowledges that the result is intentionally ignored.Language documentation]] static expected<Server, CommandFailure> over(std::shared_ptr<const CommandExecutor> executor, ExecutorOptions options = {}, CommandObserver observer = {}, ExecutionPolicy policy = {});

Description#

BackendKind::custom named this possibility from the first release and nothing could reach it: the interface a backend had to satisfy lived in a header this package does not install, so the only transport a consumer could get was the one that launches a subprocess per command. An executor answers one command; the library keeps session routing, batching, attach preparation and the rest on its own side rather than making them a promise.

Esc

Type to search.

Reference previewOpen reference