I want to build a chat ui where the response is streamed from the server via web sockets one word at a time. As an example, if user sent the message Hello, and the response from the server is Hello, how are you?, it will be sent from the server as six different messages -
Hello
,
how
are
you
?
and I'd like to display these messages in the response as they are received in realtime.
I want to build a chat ui where the response is streamed from the server via web sockets one word at a time. As an example, if user sent the message
Hello
, and the response from the server isHello, how are you?
, it will be sent from the server as six different messages -Hello
,
how
are
you
?
and I'd like to display these messages in the response as they are received in realtime.
Is this use case supported?