1 instantiation of RemoteJSDataStream
Microsoft.AspNetCore.Components.Server (1)
Circuits\RemoteJSDataStream.cs (1)
53
var remoteJSDataStream = new
RemoteJSDataStream
(runtime, streamId, totalLength, chunkSize, jsInteropDefaultCallTimeout, cancellationToken);
6 references to RemoteJSDataStream
Microsoft.AspNetCore.Components.Server (6)
Circuits\CircuitHost.cs (1)
462
return
RemoteJSDataStream
.ReceiveData(JSRuntime, streamId, chunkId, chunk, error);
Circuits\RemoteJSDataStream.cs (3)
26
if (!runtime.RemoteJSDataStreamInstances.TryGetValue(streamId, out
var
instance))
36
public static async ValueTask<
RemoteJSDataStream
> CreateRemoteJSDataStreamAsync(
53
var
remoteJSDataStream = new RemoteJSDataStream(runtime, streamId, totalLength, chunkSize, jsInteropDefaultCallTimeout, cancellationToken);
Circuits\RemoteJSRuntime.cs (2)
27
internal readonly Dictionary<long,
RemoteJSDataStream
> RemoteJSDataStreamInstances = new();
194
=> await
RemoteJSDataStream
.CreateRemoteJSDataStreamAsync(this, jsStreamReference, totalLength, _maximumIncomingBytes, _options.JSInteropDefaultCallTimeout, cancellationToken);