stream-in page example
Streaming state never change into success
// Use stream.response() to get the final message from the server before the stream has closed
const endMessage = await stream.response();
addState(endMessage.success ? "Success" : "Error");
stream.response never done, so code after it never runs.
How to deal with that?
Is it bug?
Encore.ts Streaming Examples
stream-in
page example Streaming state never change into successstream.response never done, so code after it never runs. How to deal with that? Is it bug?