I/O Patterns
Deep-dives into each pattern -- state machines, ops contracts, and working examples
The Driver SDK provides four I/O patterns. Each defines a state machine, an ops contract, poll semantics, and error behavior. These pages are the complete reference for each pattern.
Not sure which pattern to use? Start with Choosing a Pattern.
P1: Pure Stream
Bidirectional byte pipe -- read and write are independent, concurrent streams
P2: Write-then-Read
Request/response -- write submits a request, read retrieves the response
P3: Event Stream
Read-only event broadcast with first-open/last-close activation
P4: Configured Stream
Heavy upfront configuration, then streaming output -- the inference pattern