Server.createOwned
Starts a server on the socket the options name and owns it; disposing the scope stops it.
Source and package
- Qualified name
-
LibTmux .FSharp .Server. create Owned - Namespace
- LibTmux.FSharp
- Declared in
Server- Package
- LibTmux.FSharp
- Source
- src/LibTmux.FSharp/Hierarchy.fsi
-
F# value signaturesDeclares the name and type of a value or function in a signature. createOwned: cancellationToken : CancellationToken -> options: ServerConnection -> Task<OwnedOptions Server >Scope -
Description
The core's
Server.CreateOwnedAsync, named so F# need not qualify the type this module shares a name with. A server already listening on the default socket is refused rather than owned.- Parameters
- Errors
-
-
System
.Invalid – A server is already listening on the default socket.Operation Exception -
Lib
Tmux – tmux failed to say whether a server is listening, such as on a socket it may not open..Tmux Command Exception
-
Recorded calls
source callsThe F# 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.FSharp.Server.createOwned.
Guides
task materialPages that discuss createOwned.