Table of Contents

Enum FiberUpdatePriority

Namespace
Velvet
Assembly
Velvet.Docs.dll

Lane priority for a scheduled re-render. The lane is chosen from the scheduling context, not passed as an argument: StartTransition updates and UseDeferredValue derivations take the Transition lane, a starved Transition lane is promoted to Deferred, and every other state update takes the Normal lane. Lower numeric values indicate higher priority; a fiber's lane queue drains lowest-value-first.

public enum FiberUpdatePriority

Fields

Deferred = 2

Low priority. Its flush is delayed by a fixed delay; a starved Transition lane is promoted to it.

Normal = 1

Default priority for state updates that are not part of a transition.

Transition = 3

Lowest priority. Taken by StartTransition updates and UseDeferredValue derivations. Its flush is delayed so higher-priority lanes commit first, and it is promoted to Deferred once it has been starved for a fixed number of flushes.

Urgent = 0

Highest priority. Drains ahead of every other lane within a fiber's lane queue.