Skip to content

speed

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 its editId option (stamped automatically when missing).

() => void | Promise<void>

TimelineBlockOptions

Promise<void>

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 its editId option (stamped automatically when missing).

number

() => void | Promise<void>

TimelineBlockOptions

Promise<void>