assertDriveMaxFrames
assertDriveMaxFrames(
maxFrames,call):void
Defined in: internal/driveSupport.ts:25
Rejects a budget that would leave a drive unbounded without asking. The
guards skip a non-finite budget so Infinity can disable them on purpose,
which NaN would otherwise do silently.
Parameters
Section titled “Parameters”maxFrames
Section titled “maxFrames”number
string
Returns
Section titled “Returns”void