Core LibraryunreleasedAPI Reference

Choose documentation 1

latest

Current version

latest
English

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

function libtmux-haskell latest

withServerIn

Adopt one endpoint within an existing Runtime and close only that handle after the callback. Other handles remain admitted under the shared limits; each adoption has its own serverGeneration. Use withServer for one handle.

Source and package
Qualified name
LibTmux.Server.withServerIn
Declared in
LibTmux.Server
Package
libtmux-haskell
Source
src/LibTmux/Server.hs
withServerIn :: Runtime -> ServerConfig -> (Server -> IO a) -> IO a

Description#

Failed adoption can retain a CleanupRecovery before a Server exists. Inspection, retry and waiting through that owner stay scoped to the failed adoption. Cleanup preserves application exceptions, incoming masking state and cancellation; known acquisition failures use TmuxException.

Referenced declarations#

Guides#

Pages that discuss withServerIn.

Esc

Type to search.

Reference previewOpen reference