Core Library0.xAPI reference

Choose documentation 1

pr-173

Current version

pr-173
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

typealias libtmux-elixir

OneShot.option/0

Per-call input and capture limits; bytes and chunks are bounded independently.

Source and package
Qualified name
LibTmux.Transport.OneShot.option/0
Module
LibTmux.Transport
Declared in
OneShot
Package
libtmux
Source
lib/libtmux/transport/oneshot.ex
@type option() :: {:timeout, 1..600_000} | {:deadline, LibTmux.Deadline.t()} | {:cwd, String.t()} | {:env, %{optional(binary()) => binary()}} | {:native_helper, Path.t() | nil} | {:keep_tmux_context, boolean()} | {:max_stdout_bytes | :max_stderr_bytes, 0..16_777_216} | {:max_total_bytes, nil | 0..33_554_432} | {:max_chunks, 1..65536}

Description

Timeout and deadline are exclusive. A supplied deadline must have at most 600,000 ms remaining at validation; it preserves its original cutoff.

Esc
Search in

Type to search.

Reference previewOpen reference