Session.CreateWindowWithReceiptAsync
Creates a window and returns its initial pane identity.
Source and package
- Qualified name
-
LibTmux .Session. Create Window With Receipt Async - Namespace
- LibTmux
- Declared in
Session- Package
- LibTmux
- Source
- src/LibTmux/Session.Lifecycle.cs
- async Task<Window
Creation > CreateWindowWithReceiptAsync( NewResult Window ? request = null, CancellationRequest Token cancellationToken = default ) -
Description
Rejects
SelectExistingbefore dispatch because an existing window has no creation receipt. The pane identifier comes from creation, not a later listing; the pane may have moved or disappeared before readback. A failed readback publishes no receipt or cleanup ownership.- Parameters
-
-
request(NewWindow ?) – The window to create.Request Default
null -
cancellationToken(CancellationToken ) – Cancels creation and readback.Default
default
-
- Returns
-
The created window in this session and its initial pane identifier.
- Errors
-
-
Argument
Exception – The request may select an existing window. -
Lib
Tmux – Creation or readback failed; a failure after creation has unknown dispatch outcome.Exception
-
Recorded calls
source callsThe C# 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 LibTmux.Session.CreateWindowWithReceiptAsync.
tmux command
task materialThe tmux commands behind CreateWindowWithReceiptAsync.
tmux C API
task materialThe C declarations in tmux that implement these commands.