Expand description
Streaming Control Module
This module provides stateless streaming control utilities for OpenAI API responses.
Following the “Thin Client, Rich API” principle, this module offers control patterns
and cancellation tokens without maintaining persistent stream state.
Modules§
- exposed
- Exposed namespace of the module.
- orphan
- Orphan namespace of the module.
- own
- Own namespace of the module.
- prelude
- Prelude to use essentials:
use my_module ::prelude :: *.
Structs§
- Cancellation
Token - Cancellation token for controlling streaming operations
- Stream
Control - Stream control handle for managing streaming operations
- Stream
Control Config - Configuration for streaming control behavior
- Stream
Control Manager - Stream control utilities
- Stream
Control Receiver - Receiver for stream control commands
- Stream
Control Sender - Sender for stream control commands
Enums§
- Stream
Control Command - Commands for controlling stream operations
- Stream
State - Stream control state for tracking operations