Skip to main content

OutputTap

Type Alias OutputTap 

Source
pub type OutputTap = Arc<dyn Fn(&[u8]) + Send + Sync>;
Expand description

Callback invoked for every chunk of bytes read from the transport.

Taps observe the raw byte stream as it arrives, after it is appended to the matcher buffer but before any pattern matching is performed. They are the foundation for screen emulation, transcript recording, and other features that need to see output as it happens.

Aliased Typeยง

pub struct OutputTap { /* private fields */ }