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

Subscription.wait_for_bytes

Consume future bytes until the nonempty pattern matches, including across Data boundaries. Maximum pattern: 64 KiB. Return the cursor at the match's end within its consumed event. Gaps stop matching; no rendered or earlier output is searched. Timeout leaves the subscription active.

Source and package
Qualified name
Libtmux_unix.Subscription.wait_for_bytes
Module
Libtmux_unix
Declared in
Subscription
Package
libtmux-unix
Source
unix/libtmux_unix.mli
val wait_for_bytes : ?cancel:Cancellation.t -> ?timeout:float -> t -> text:string -> (Libtmux.Output.cursor, Libtmux.Output.wait_error) result

Public owner: Libtmux_unix

Parameters
Esc

Type to search.

Reference previewOpen reference