powered by
Stream response that returns a promise for async handling
goose_stream_async(query, show_progress = TRUE)
A promise that resolves to the complete response
The query to execute
Show progress during streaming
if (FALSE) { library(promises) goose_stream_async("Explain promises") %...>% { cat("Complete response:", .) } }
Run the code above in your browser using DataLab