Redigera

Dela via


GrainTimerCreationOptions.Interleave Property

Definition

Gets a value indicating whether callbacks scheduled by this timer are allowed to interleave execution with other timers and grain calls. Defaults to false.

public bool Interleave { get; init; }
member this.Interleave : bool with get, set
Public Property Interleave As Boolean

Property Value

Remarks

If this value is false, the timer callback will be treated akin to a grain call. If the grain scheduling this timer is reentrant (i.e., it has the ReentrantAttribute attributed applied to its implementation class), the timer callback will be allowed to interleave with other grain calls and timers regardless of the value of this property. If this value is true, the timer callback will be allowed to interleave with other timers and grain calls.

Applies to