Core LibraryunreleasedAPI Reference

Choose documentation 2

latest

Current version

latest
English

Unreleased libtmux has not been released. Its API may change during development. This site's structure and URLs may change too.

function libtmux-ocaml latest

Client.connect

Attach to an existing local Linux daemon in the same PID namespace and shared filesystem. Requires pidfd support. Default exchange timeout: one second. All client calls belong to the connecting OCaml domain. Initial and auxiliary attachments suppress tmux's update-environment behavior.

Source and package
Qualified name
Libtmux_eio.Client.connect
Module
Libtmux_eio
Declared in
Client
Package
libtmux-eio
Source
eio/libtmux_eio.mli
val connect : ?cleanup:Cleanup.t -> ?binary:string -> ?timeout:float -> sw:Eio.Switch.t -> process_mgr:[> [> `Generic ] Eio.Process.mgr_ty ] Eio.Process.mgr -> mono_clock:[> Eio.Time.Mono.ty ] Eio.Time.Mono.t -> Libtmux.Endpoint.t -> (t, Libtmux.Error.t) result

Public owner: Libtmux_eio

Parameters
Esc

Type to search.

Reference previewOpen reference