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)
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
| Name | Type | Description |
|---|---|---|
drain | Action | The drain callback to marshal to the UI thread. |
Returns: bool -- true when the dispatcher accepted the work.
Exceptions
| Type | Condition |
|---|---|
| System.InvalidOperationException | The dispatcher queue is no longer accepting work. |