Interface: RetreeMaterializeOptions#
Defined in: materializeAsync.ts:13
Properties#
| Property | Type | Description | Defined in |
|---|
budgetMs? | number | Milliseconds of work per slice, checked between steps. Defaults to 4. | materializeAsync.ts:15 |
getRevision? | () => unknown | Replaces automatic tree invalidation with an application revision. Include every input that can change the result, including linked nodes. Return a stable value until inputs change, compared with Object.is. This allows cache writes that do not change the source revision. | materializeAsync.ts:24 |
onProgress? | (progress) => void | Called after each slice. No partial result is exposed. | materializeAsync.ts:26 |
schedule? | (signal) => Promise<void> | Host scheduling override. Must yield to a task, not just a microtask. The default waits for an animation frame then a timer in visible browsers, or a timer in other environments. Abort cancels the wait in either case. | materializeAsync.ts:32 |
signal? | AbortSignal | Abort when the selected root changes or the loading boundary unmounts. | materializeAsync.ts:17 |