Skip to content

BlazorReactiveUIBuilderExtensions.BlazorMainThreadScheduler property

Defined in

Type: BlazorReactiveUIBuilderExtensions Namespace: ReactiveUI.Reactive.Builder Assembly: ReactiveUI.Blazor.Reactive.dll

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-tvos18.0, net9.0-maccatalyst18.0, net9.0-macos15.0, net9.0-desktop1.0, net9.0-ios18.0, net8.0, net8.0-maccatalyst17.5, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0, net8.0-ios17.5, net8.0-macos14.5, netstandard2.1

public static IScheduler BlazorMainThreadScheduler { get; }

View source

Summary: Gets the Blazor Server scheduler.

Returns: IScheduler

Value: A current-thread scheduler. Renderer-affine work remains component-scoped and is marshalled through ComponentBase.InvokeAsync because Blazor Server has one renderer dispatcher per circuit.