-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose streaming API #31
Comments
hey I'm also interested in a response body streaming API, did you have a particular design in mind? Maybe something like this? pub fn send_stream(req: Request(String)) -> Result(Response(Iterator(BitArray)), Dynamic) |
I think it would be message based. Iterators are not suitable for streaming like this. |
ah I see thanks, would you be able to share an example snippet? I'm new to Gleam so I'm not sure what that would look like exactly |
I don't believe anyone has done any research and design on this yet. |
For example, for @hayleigh-dot-dev's chat-bot project
The text was updated successfully, but these errors were encountered: