Core LibraryAPI Reference

Choose documentation 1

latest

Current version

latest
English

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

method libtmux-kotlin latest

Server.control

Package io.github.libtmux.kotlin.Server.control io.github.libtmux.kotlin

Attaches a control client to this session's server, and only to the process this capture named.

View as Markdown

Source and package
Module
io.github.libtmux.kotlin
Declared in
Server
Package
io.github.libtmux:libtmux-kotlin
Source
libtmux-kotlin/src/main/kotlin/io/github/libtmux/kotlin/Server.kt
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 control( session: Session, timeout: Duration = config.defaultTimeout().toKotlinDuration(), ): ControlClient
methodasync [source]
Parameters
  • session ( Session )

  • timeout ( Duration ) – how long to wait for the client to become ready

Esc

Type to search.