Consider SignalR Pull Model / Streaming for JavaScript and Java client #33859
Labels
area-signalr
Includes: SignalR clients and servers
Blazor ♥ SignalR
This issue is related to the experience of Signal R and Blazor working together
enhancement
This issue represents an ask for new feature or an enhancement to an existing one
feature-blazor-jsinterop
This issue is related to JSInterop in Blazor
Priority:3
Work that is nice to have
Milestone
As a part of #30289 / #33491 we didn't leverage SignalR's native streaming capability as we wanted to delay sending additional data chunks until the ones sent had been consumed by the server. Without this, the client could queue the entire stream at once (via
subject.next(nextData)
) thereby blocking interactivity till the stream was transferred. This would in turn present a breaking change for certain functionality like file uploads. Instead we took asend
/invoke
based approach where wesend
X
chunks, and theninvoke
everyX+1
chunks to get a "heartbeat" for the stream, and allow other requests to interrupt the transfer.The text was updated successfully, but these errors were encountered: