-
I created a stream on the server like this:
But for the client I need to close the stream. So I need to execute readable.push(null); |
Beta Was this translation helpful? Give feedback.
Answered by
giladgd
Oct 23, 2024
Replies: 1 comment
-
You need to |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
giladgd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to
await
on the promise returned fromsession.prompt(...)
to know when the generation has finished.