# LibTmux.Server.SuspendClientAsync

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Server.Clients.cs#L82
- **Page:** https://libtmux.org/en/csharp/latest/reference/libtmux-server-suspendclientasync/

tmux command: [`suspend-client`](/en/tmux/latest/manual/suspend-client/)

```
LibTmux.Server.SuspendClientAsync(targetClient: string?, cancellationToken: CancellationToken) -> Task
```

Suspends one client.

## Parameters

- `targetClient` (`string?`): The client, or null for the caller's own.
- `cancellationToken` (`CancellationToken`): Cancels the tmux command.
