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

ControlClient.send

Package io.github.libtmux.kotlin.ControlClient.send io.github.libtmux.kotlin

Runs one command and waits for its reply.

View as Markdown

Source and package
Module
io.github.libtmux.kotlin
Declared in
ControlClient
Package
io.github.libtmux:libtmux-kotlin
Source
libtmux-kotlin/build/generated/sources/operations/kotlin/io/github/libtmux/kotlin/ControlClientOperations.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 ControlClient.send(vararg argv: String): ControlReplypublic 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 ControlClient.send(argv: List<String>): ControlReplypublic 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 ControlClient.send(argv: List<String>, timeout: Duration): ControlReply
methodasyncoverload3 overloads [source]
Parameters
  • argv ( String ) (for send(argv) [overload 1])

  • argv ( List<String> ) (for send(argv) [overload 2]; send(argv, timeout))

  • timeout ( Duration ) (for send(argv, timeout))

Esc

Type to search.