CompositionBatchProcessed Property
Indicates that batch got deserialized on the render thread and will soon be rendered.
It's generally a good time to start producing the next one
Namespace: Avalonia.Rendering.Composition.TransportAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public Task Processed { get; }
Public ReadOnly Property Processed As Task
Get
member Processed : Task with get
Property Value
Task
To allow timing-sensitive code to receive the notification in time, the TaskCompletionSource
is configured to invoke continuations _synchronously_, so your `await` could happen from the render loop
if it happens to run on the UI thread.
It's recommended to use Dispatcher.AwaitOnPriority when consuming from the UI thread