run_batch
Source and package
- Module
- LibTmux
- Package
- LibTmux
- Source
- src/batches.jl
- run_batch( target::Union{Lib
Tmux , Lib.Control Connection Tmux }, commands::Abstract.Server Vector {LibTmux }; concurrency, timeout, cancel ).Tmux Command -
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
Servercommands retain their responses, but successful per-operation completion is:unknownunless the command matches the audited synchronous grammar. This deliberately does not equate an arbitrary process response with background-job completion.- Parameters
-
-
target( Union{LibTmux , Lib.Control Connection Tmux } ) #.Server -
concurrency=4( Integer ) #
-
Discussed in Execution and cancellation , Ownership and I/O