settledSweepVerified
settledSweepVerified(
program,points,options?,toleranceDb?):object
Defined in: packages/runtime/src/settle.ts:1155
Sweep where it is safe, and fall back where it is not.
Verifies one point against an independent render — the cheapest check that can catch a shared state hazard — and re-measures the whole packet independently when they disagree. A packet that carries no state across a control change pays one extra render; one that does gets the right answer instead of a fast wrong one.
The verified point is the first, because that is the one immediately after the shared initial settle and therefore the most exposed to it.
Parameters
Section titled “Parameters”program
Section titled “program”points
Section titled “points”readonly readonly readonly [string, number][][]
options?
Section titled “options?”SettledRenderOptions = {}
toleranceDb?
Section titled “toleranceDb?”number = 0.5
Returns
Section titled “Returns”object
results
Section titled “results”
readonlyresults: readonlySettledRender[]
shared
Section titled “shared”
readonlyshared:boolean