goose_stream_async: Async Stream with Promise

View source: R/streaming.R

goose_stream_asyncR Documentation

Async Stream with Promise

Description

Stream response that returns a promise for async handling

Usage

goose_stream_async(query, show_progress = TRUE)

Arguments

query

The query to execute

show_progress

Show progress during streaming

Value

A promise that resolves to the complete response

Examples

## Not run: 
library(promises)
goose_stream_async("Explain promises") %...>%
  { cat("Complete response:", .) }

## End(Not run)

gooseR documentation built on Feb. 6, 2026, 5:07 p.m.