Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

function LibTmux.jl latest

run_batch

Module LibTmux.run_batch LibTmux
Source and package
Module
LibTmux
Package
LibTmux
Source
src/batches.jl

Methods#

Run at most 256 independent commands with at most 64 worker tasks. Results retain input order; execution order is unspecified. A command error does not skip independent siblings. One monotonic budget includes admission and all workers; cancellation stops new admission and retains sent-effect uncertainty. The call joins every worker before returning. There is no replay or fallback.

run_batch(target, commands; concurrency=4, timeout=5.0, cancel=nothing)

All control commands are validated before effects. Raw Server commands retain their responses, but successful per-operation completion is :unknown unless the command matches the audited synchronous grammar. This deliberately does not equate an arbitrary process response with background-job completion.

Discussed in Execution and cancellation , Ownership and I/O

Esc

Type to search.

Reference preview Open reference