speed
Call Signature
Section titled “Call Signature”speed(
fn,options?):Promise<void>
Defined in: speed.ts:63
Speeds up (or slows down) the recording inside fn at render time.
Two forms:
speed(3, fn): the multiplier comes from code and is locked against web edits.speed(fn): web-editable block (the multiplier defaults to 1 until edited there), identified by itseditIdoption (stamped automatically when missing).
Parameters
Section titled “Parameters”() => void | Promise<void>
options?
Section titled “options?”TimelineBlockOptions
Returns
Section titled “Returns”Promise<void>
Call Signature
Section titled “Call Signature”speed(
multiplier,fn,options?):Promise<void>
Defined in: speed.ts:67
Speeds up (or slows down) the recording inside fn at render time.
Two forms:
speed(3, fn): the multiplier comes from code and is locked against web edits.speed(fn): web-editable block (the multiplier defaults to 1 until edited there), identified by itseditIdoption (stamped automatically when missing).
Parameters
Section titled “Parameters”multiplier
Section titled “multiplier”number
() => void | Promise<void>
options?
Section titled “options?”TimelineBlockOptions
Returns
Section titled “Returns”Promise<void>