validate

fun validate(commands: List<DrawCommand>)(source)

Validates every platform command without drawing or retaining the supplied list.

Parameters

commands

the complete ordered frame, not only its visible native subset.

Throws

when any platform payload is unsupported or ambiguous, before drawing begins.

when a handler detects an expired or foreign payload.