# LibTmux.Mcp.PaneActivityHub.CaptureSignal

- **Module:** LibTmux.Mcp.PaneActivityHub
- **Package:** LibTmux.Mcp
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux.Mcp/Streaming/PaneActivityHub.cs#L250
- **Page:** https://libtmux.org/en/dotnet/latest/mcp/reference/libtmux-mcp-paneactivityhub-capturesignal/

```
LibTmux.Mcp.PaneActivityHub.CaptureSignal(paneId: string) -> object?
```

Takes the token that a later wait on this pane will wake from.

Take this <em>before</em> reading the pane. Output that arrives between
the read and the wait would otherwise leave the waiter asleep with the
answer already on screen.

## Parameters

- `paneId` (string): The pane about to be read.

## Returns

The token, or null when nothing is streaming this pane.
