Module streaming_control

Module streaming_control 

Source
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§

CancellationToken
Cancellation token for controlling streaming operations
StreamControl
Stream control handle for managing streaming operations
StreamControlConfig
Configuration for streaming control behavior
StreamControlManager
Stream control utilities
StreamControlReceiver
Receiver for stream control commands
StreamControlSender
Sender for stream control commands

Enums§

StreamControlCommand
Commands for controlling stream operations
StreamState
Stream control state for tracking operations