You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the browser is reloaded by the user during a stream, it cancels the stream. But I can't find a way to handle this scenario on the server. The onFinish callback is not triggered. For instance, I would like to reset the status of the object being streamed and cancelled so I can trigger a new stream later. Using streamText and streamObject. Any idea?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When the browser is reloaded by the user during a stream, it cancels the stream. But I can't find a way to handle this scenario on the server. The onFinish callback is not triggered. For instance, I would like to reset the status of the object being streamed and cancelled so I can trigger a new stream later. Using streamText and streamObject. Any idea?
Beta Was this translation helpful? Give feedback.
All reactions