FluidFramework icon indicating copy to clipboard operation
FluidFramework copied to clipboard

Provide access to sequence after partial load

Open kurtb opened this issue 7 years ago • 0 comments

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.

kurtb avatar Aug 19 '19 18:08 kurtb