FlushMode Enum
Runtime flush mode handling
To use, import via @fluidframework/runtime-definitions/legacy
.
For more information about our API support guarantees, see here.
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.
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
To use, import via @fluidframework/runtime-definitions/alpha
.
For more information about our API support guarantees, see here.
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.
To use, import via @fluidframework/runtime-definitions/alpha
.
For more information about our API support guarantees, see here.
Signature
TurnBased = 1