Companion.start
Starts a private tmux server that the result owns: closing it ends tmux, removes the server's directory, and throws if the server still answers. See io.github.libtmux.Server.start. withPrivateServer scopes one to a block.
Source and package
- Qualified name
-
io.github .libtmux .kotlin .Server .Companion. start - Package
- io.github.libtmux.kotlin.Server
- Declared in
Companion- Distribution
- io.github.libtmux:libtmux-kotlin
- Source
- libtmux-kotlin/src/main/kotlin/io/github/libtmux/kotlin/Server.kt
- public
Kotlin suspending functionsAllows a function to call suspending operations and pause without blocking a thread. It does not start a coroutine by itself. fun start( launch: ServerLaunch = ServerLaunch.builder().build(), policy: ExecutionPolicy = ExecutionPolicy .default(ServerConfig ().build()), ): Server.builder -
- Parameters
-
-
launch(ServerLaunch)Default
ServerLaunch.builder().build() -
Default
ExecutionPolicy.default(ServerConfig.builder().build())
-
Recorded calls
source callsThe Kotlin 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 io.github.libtmux.kotlin.Server.Companion.start.