time
time(
durationMs,fn,options?):Promise<void>
Defined in: time.ts:60
Remaps the wrapped section to exactly durationMs at render time
(compressing or stretching it): time(1000, fn).
The duration is web-editable: an editor override applies at the next
record and shadows the code value with a warning. The block’s stable
identity slug comes from the editId option (stamped automatically when
missing).
Parameters
Section titled “Parameters”durationMs
Section titled “durationMs”number
() => void | Promise<void>
options?
Section titled “options?”TimelineBlockOptions
Returns
Section titled “Returns”Promise<void>