Rendered Property
Indicates that batch got rendered on the render thread. It's generally a good time to start producing the next one
Definition
Namespace: Avalonia.Rendering.Composition.Transport
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public Task Rendered { get; }
Public ReadOnly Property Rendered As Task
Get
member Rendered : Task with get
Property Value
TaskRemarks
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
See Also
Reference
CompositionBatch Class
Avalonia.Rendering.Composition.Transport Namespace