API reference
resolveStepTiming
pixi-reels / index / resolveStepTiming
function resolveStepTiming(
profile: SpeedProfile,
phase: string,
stepName: string,
anticipated?: boolean
): readonly StepTiming[];
Defined in: config/phaseProfile.ts:151
What the profile says about one named step of one phase, in segment order.
The section’s whenAnticipated entry for that step is merged over the
section’s own, segment by segment.
Empty when the profile configures nothing for that step. The built-in steps read the first entry; a list is for a step written to consume segments.
Parameters#
| Parameter | Type | Default value |
|---|---|---|
profile | SpeedProfile | undefined |
phase | string | undefined |
stepName | string | undefined |
anticipated | boolean | false |
Returns#
readonly StepTiming[]