Control.submit/3
Admits one request and returns its retained operation handle.
Source and package
- Qualified name
-
LibTmux .Control. submit/3 - Module
- LibTmux
- Declared in
Control- Package
- libtmux
- Source
- lib/libtmux/control.ex
- submit(control, request, options \\ []) @spec submit(t(), Lib
Tmux (), [ call.Control .Request .t _option () ]) :: {:ok, LibTmux ()} | {:error, Lib.Operation .t Tmux ()}.Error .t -
Description
timeoutdefaults to 5000ms and covers validation, admission, queueing, writes and replies under one monotonic deadline. Request binaries are detached before publication. Invalid input, overload or stale context before admission returns a no-write error. Every successful admission returns its Operation, even if its context disappears before publication. Inspect that handle for the eventual canonical result or an explicit lost-context error.Closing the connection can affect sibling operations. Command replies do not prove external program exit. Caller timeout does not authorize replay.
See the worked example.
- Parameters
-
-
options([call_option ()])Default
[]
Recorded calls
source callsThe Elixir 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.Control.submit/3.
tmux command
task materialThe tmux commands behind submit/3.
display-message (the request reads a field) set-option (the request sets a user option) tmux C API
task materialThe C declarations in tmux that implement these commands.
Guides
task materialPages that discuss submit/3.
- Concepts
- Topics