# OutputWait.Outcome.expiredWhileReading

- **Module:** OutputWait.Outcome
- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** constant
- **Source:** https://github.com/libtmux/libtmux-swift/blob/f02a4668570e1cc5198c941413750e021f42c214/Sources/LibTmux/WaitForOutput.swift#L20
- **Page:** https://libtmux.org/reference/swift/outputwait-outcome-expiredwhilereading/

The deadline arrived while a read of the pane was still in flight, so the wait never finished looking.

This is not ``timedOut``: it does not say the pattern failed to
appear, only that there was not time to find out. It answers a
timeout shorter than a tmux round-trip — including a zero one —
and a machine loaded enough to make an ordinary read miss an
ordinary deadline. Retrying with a longer timeout is the fix;
changing the pattern is not.
