Core LibraryunreleasedAPI Reference

Choose documentation 1

latest

Current version

latest
English

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

function libtmux-erlang latest

tmux_operation:transfer/2

Transfer ownership to a live process on this Erlang node. The endpoint installs its new owner monitor before releasing the previous monitor and returns after the swap. The new process performs no handshake. Waiters and ownership remain separate; endpoint ownership does not change.

Source and package
Qualified name
tmux_operation:transfer/2
Declared in
tmux_operation
Package
libtmux_erlang
Source
apps/libtmux_erlang/src/tmux_operation.erl
transfer/2 -spec transfer(t(), pid()) -> ok | {error, map()}.

Description#

An await_timeout abandons the reply, not the queued ownership change. The transfer may complete later. Use status/1 to read the current owner before relying on ownership; a timeout does not prove that the old owner remains.

Parameters

Guides#

Pages that discuss transfer/2.

Esc

Type to search.

Reference previewOpen reference