Core Library0.xAPI reference

Choose documentation 1

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

function libtmux-erlang

tmux_stream:demand/2

Add credit for future deliveries. Unused credit plus delivered data awaiting acknowledgement must fit within 64 KiB and eight messages. An await_timeout leaves the credit change unconfirmed.

Source and package
Qualified name
tmux_stream:demand/2
Declared in
tmux_stream
Package
libtmux_erlang
Source
apps/libtmux_erlang/src/tmux_stream.erl
demand(Subscription, Credit) -spec demand(subscription(), credit()) -> ok | {error, map()}.
Parameters

Recorded calls

source calls
No call edges in the Erlang model.

The Erlang 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 tmux_stream:demand/2.

Guides

task material

Pages that discuss demand/2.

Esc
Search in

Type to search.

Reference previewOpen reference