createDeferred
1 2 3 4 5 6 7 8 | |
Creates a readonly that only notifies downstream changes when the browser is idle. timeoutMs is the maximum time to wait before forcing the update.
Options¶
| Name | Type | Description |
|---|---|---|
| timeoutMs | number | The maximum time to wait before forcing the update. |
| equals | false | ((prev: T, next: T) => boolean) | A function that returns true if the value has changed. |
| name | string | The name of the readonly. |
{/* TODO: Add code playground example */}