Skip to content

DispatcherQueueSequencer.Post(Action) method

Defined in

Type: DispatcherQueueSequencer Namespace: ReactiveUI.Primitives.Reactive.Concurrency Assembly: ReactiveUI.Primitives.WinUI.Reactive.dll

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041

protected override bool Post(Action drain)

View source

Inherited documentation

These docs were inherited from CoalescingDispatchScheduler. The member doesn't override them on this type.

Summary: Posts the cached drain callback to the platform dispatcher.

Parameters

NameTypeDescription
drainActionThe drain callback to marshal to the UI thread.

Returns: bool -- true when the dispatcher accepted the work.

Exceptions

TypeCondition
System.InvalidOperationExceptionThe dispatcher queue is no longer accepting work.