T
tRPC
Change Theme
Search Answer Overflow
Login
Cristian
Posts
Comments
T
tRPC
•
Created by vbhv on 6/28/2024 in
#❓-help
websocket or sse
yeah, i guess it's not working well when returning the same sort of readablestream via trpc subscription procedure
15 replies
T
tRPC
•
Created by vbhv on 6/28/2024 in
#❓-help
websocket or sse
streaming yes, but SSE required a continuing open connection, got the solution from here:
https://github.com/vercel/next.js/discussions/48427#discussioncomment-5624604
15 replies
T
tRPC
•
Created by vbhv on 6/28/2024 in
#❓-help
websocket or sse
yeah.. fixed it in the meantime, apparently 'edge' runtime does not support it well, 'nodejs' runtime works well tho. thanks for the fast reply!
15 replies
T
tRPC
•
Created by vbhv on 6/28/2024 in
#❓-help
websocket or sse
@BeBoRE do you know, would the SSE Subscriptions on vercel work out of the box? I am trying to implement them with trpc (which locally work) but deployed on vercel don't "TypeError: This ReadableStream did not return bytes."
15 replies