development-plugin-for-avalonia

Avalonia Threading and Dispatcher

Start with:

Load these when quality hardening matters:

Workflow

  1. Identify which state is allowed off-thread and which UI mutations must stay on the UI thread.
  2. Pick the right dispatch primitive: immediate post, prioritized operation, or timer.
  3. Keep reactive or async chains explicit about scheduler and dispatch boundaries.
  4. Verify cancellation, teardown, and shutdown behavior for long-lived subscriptions or timers.

Rules