Skip to main content
Version: v1

FlushMode Enum

Runtime flush mode handling

Signature​

export declare enum FlushMode

Flags​

FlagDescription
ImmediateIn Immediate flush mode the runtime will immediately send all operations to the driver layer.
TurnBasedWhen in TurnBased flush mode the runtime will buffer operations in the current turn and send them as a single batch at the end of the turn. The flush call on the runtime can be used to force send the current batch.

Immediate​

In Immediate flush mode the runtime will immediately send all operations to the driver layer.

Signature​

Immediate = 0

TurnBased​

When in TurnBased flush mode the runtime will buffer operations in the current turn and send them as a single batch at the end of the turn. The flush call on the runtime can be used to force send the current batch.

Signature​

TurnBased = 1