Skip to content

Documentation / @finchart/core / index / eachFallback

Function: eachFallback() ​

eachFallback(draw, visit, depth?): void

Defined in: packages/core/src/render/types.ts:361

Hands out the fallback in order — whatever the replaying surface is, it uses the same rule. Since depth is counted only here, the canvas replay side and this file's DrawTarget replay side can't behave differently around a cycle.

Parameters ​

draw ​

CustomDraw

visit ​

(command) => void

depth? ​

number = 0

Returns ​

void