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. with Server In - Declared in
LibTmux.Server- Package
- libtmux-haskell
- Source
- src/LibTmux/Server.hs
- withServerIn :: Runtime -> Server
Config -> (Server -> IO a) -> IO a -
Description#
Failed adoption can retain a
CleanupRecoverybefore aServerexists. 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 useTmuxException.
Referenced declarations#
- LibTmux.Server.Runtime data type
- LibTmux.Server.Server data type
- LibTmux.Server.ServerConfig data type
Guides#
Pages that discuss withServerIn.