winglang / wing

A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
https://winglang.io
Other
4.78k stars 189 forks source link

support streaming responses for api handlers #5785

Open skorfmann opened 4 months ago

skorfmann commented 4 months ago

Use Case

In particular for the Typescript SDK, it would be great to allow a stream, rather than just a string as response. Here's a case where it would help https://github.com/winglang/examples/pull/45

Proposed Solution

No response

Implementation Notes

No response

Component

SDK

Community Notes

ekeren commented 4 months ago

Why is this more relevant for the typescript SDK?