Package-level declarations

Types

Link copied to clipboard

Handler for collecting a Flow with explicit callbacks for chunks, errors, and completion.

Functions

Link copied to clipboard
inline suspend fun <T : AIChunk> Flow<T>.collectHandler(block: CollectHandler<T>.() -> Unit)

Collects a Flow of ChatChunk using a handler DSL.