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