Type alias ContinuousAction

ContinuousAction: {
    actionType: ContinuousAction;
    onExecute: ((state, repeatCount) => void);
    repeatDelay?: number;
    repeatInterval?: number;
}

An action that continues to execute after activation

Type declaration

  • Readonly actionType: ContinuousAction
  • Readonly onExecute: ((state, repeatCount) => void)
  • Optional repeatDelay?: number
  • Optional repeatInterval?: number