FlushMode Enum
Runtime flush mode handling
WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.
Signature
export declare enum FlushMode
Flags
Flag | Alerts | Description |
---|---|---|
Immediate | Deprecated , Alpha |
In Immediate flush mode the runtime will immediately send all operations to the driver layer. |
TurnBased | Alpha |
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. |
Immediate
In Immediate flush mode the runtime will immediately send all operations to the driver layer.
WARNING: This API is deprecated and will be removed in a future release.
This option will be removed in the next major version and should not be used. Use TurnBased instead, which is the default. See https://github.com/microsoft/FluidFramework/tree/main/packages/runtime/container-runtime/src/opLifecycle\#how-batching-works
WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.
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.
WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.
Signature
TurnBased = 1