FluidFramework
FluidFramework copied to clipboard
Provide access to sequence after partial load
Previously the sequence would become active after only loading the header.
But a recent change waited on body load prior to giving access https://github.com/microsoft/Prague/blob/12c12a3bea16181fd478ea22dd8f04a01b327338/packages/runtime/sequence/src/sequence.ts#L612.
For documents that can't delay load this is not problematic. But for those that can, like flow-view, it's a big perf hit (seconds).
This was simpler when prepare existed because the runtime would await the sequence being fully loaded before inbounding new ops (it would still allow outbound). In the updated world the sequence will need to be able to handle ops for segments it has not yet loaded.