# pane.Pane.stream_output_with_limits

- **Module:** pane.Pane
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/pane/observe.rs#L81
- **Page:** https://libtmux.org/en/rs/latest/reference/pane-pane-stream_output_with_limits/

```
pane.Pane.stream_output_with_limits(self, limits: crate::ControlLimits) -> Result<crate::control::PaneOutput, Error>
```

Like [`Self::stream_output`], with explicit frame budgets.

The connection this opens is a whole `%begin`/`%end`-framed
control-mode session, not only this one pane's bytes, so a budget set
here bounds every frame that connection reads -- the same tradeoff
[`crate::control::ControlMode::attach_with_limits`] documents.

# Errors

Returns the same errors as [`Self::stream_output`].

# Cancel safety

Nothing is left held, as for [`Self::stream_output`].
