# mcp.AssumeResponseCommit

- **Module:** mcp
- **Package:** github.com/libtmux/libtmux-go/mcp
- **Language:** Go
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/mcp/response_transport.go#L23
- **Page:** https://libtmux.org/en/go/latest/mcp/reference/mcp-assumeresponsecommit/

```
mcp.AssumeResponseCommit(transport: mcp.Transport) -> mcp.Transport
```

AssumeResponseCommit marks transport as committing each response before its Connection.Write returns nil. It does not change transport behavior. Use it only for a transport that rejects JSON-RPC batches or writes every response independently; direct IO and stdio transports are handled automatically.
