function libtmux-kotlin latest
withControl
As withServer , for a ControlClient attached through server .
Source and package
- public Kotlin suspending functions Allows a function to call suspending operations and pause without blocking a thread. It does not start a coroutine by itself. Language documentation fun <R> with
Control ( server: Server, session: Session, timeout: Duration = server.config.defaultTimeout().toKotlin (), block: Kotlin suspending functions Allows a function to call suspending operations and pause without blocking a thread. It does not start a coroutine by itself. Language documentation (ControlDuration Client ) -> R, ): R -
- Parameters
-
-
server ( Server )
-
session ( Session )
-
timeout ( Duration )
-
block ( Kotlin suspending functions Allows a function to call suspending operations and pause without blocking a thread. It does not start a coroutine by itself. Language documentation )
-
Discussed in Commands and control mode · Getting started