Streaming
AI-style text streaming via Server-Sent Events
How it works
import { generateText } from '#actions'
const streamAction = useStreamAction(generateText)
await streamAction.execute({ prompt: 'Hello' })
// streamAction.chunks reactively updates