Asynchronous Initialization of Plugin State

It doesn’t. Rather, it starts in a state that indicates something has to be asynchronously loaded, which the plugin view recognizes. It then does the loading and creates a transaction that allows the state to update further.

In normal use, view update and state apply will be called about the same amount. Iterating through the document is typically not expensive.

2 Likes