pixi-reels

StepResult

pixi-reels


pixi-reels / index / StepResult

Type Alias: StepResult

type StepResult = 
  | gsap.core.Animation
  | Promise<void>
  | Cancellable
  | void;

Defined in: spin/phases/steps.ts:60

What a step returns: a gsap tween or timeline (killed on cancel), a promise (told to stop through ctx.signal), a Cancellable such as the object phase.bounce() returns, or nothing for a step that is instant.