Server.createOwned
LibTmux.FSharp Starts a server on the socket the options name and owns it; disposing the scope stops it.
Source and package
- Module
- LibTmux.FSharp
- Declared in
- Server
- Package
- LibTmux.FSharp
- Source
- src/LibTmux.FSharp/Hierarchy.fsi
- F# value signatures Declares the name and type of a value or function in a signature. Language documentation createOwned: cancellationToken: Cancellation
Token -> options: ServerConnection -> Task<OwnedOptions Server >Scope -
Description#
The core's <c>Server.CreateOwnedAsync</c>, 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
-
-
cancellationToken ( Cancellation
Token ) -
options ( Server
Connection )Options
-
- Raises
-
-
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
-
Discussed in .NET interoperation , Quick start