DidResult
What a didUpdate or a didWrite hook may return. When it returns followUps, the app runs each of those intents as a separate change, which joins the undo step of the change that caused it.
The follow-ups of a follow-up run afterwards, level after level, and the chain stops at a depth of 8.
Example
Section titled “Example”ctx.hooks.didUpdate({ on: 'outline' }, change => { return { followUps: [ctx.outlines.modify.intent({ id: 'outline-1', archived: true })] };});Properties
Section titled “Properties”followUps?
Section titled “followUps?”readonly followUps?: readonly Intent[];The intents to run as further changes.
