# LibTmux.Testing.TemporaryServerScope.StartAsync

- **Module:** LibTmux.Testing.TemporaryServerScope
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Testing/TemporaryServerScope.cs#L28
- **Page:** https://libtmux.org/reference/dotnet/libtmux-testing-temporaryserverscope-startasync/

```
LibTmux.Testing.TemporaryServerScope.StartAsync(options: ServerConnectionOptions?, cancellationToken: CancellationToken) -> Task<TemporaryServerScope>
```

Starts a temporary server on its own socket.

## Parameters

- `options` (ServerConnectionOptions?) — Connection options, or null for a private socket.
- `cancellationToken` (CancellationToken) — Cancels the tmux commands.

## Returns

The scope owning the server.
