Home Reference Source

lib/controller/actions/index.js

export const BEGIN_STEP = "BEGIN_STEP";
export function beginStep(type) {
  return {
    type: BEGIN_STEP,
    stepType: type
  };
}

export const ADVANCE = "ADVANCE";
export function advance() {
  return {type: ADVANCE};
}

export const STEP_NEXT = "STEP_NEXT";
export function stepNext() {
  return {type: STEP_NEXT};
}

export const STEP_OVER = "STEP_OVER";
export function stepOver() {
  return {type: STEP_OVER};
}

export const STEP_INTO = "STEP_INTO";
export function stepInto() {
  return {type: STEP_INTO};
}

export const STEP_OUT = "STEP_OUT";
export function stepOut() {
  return {type: STEP_OUT};
}

export const INTERRUPT = "INTERRUPT";
export function interrupt () {
  return {type: INTERRUPT};
}


export const CONTINUE_UNTIL = "CONTINUE_UNTIL";
export function continueUntil(...breakpoints) {
  return {
    type: CONTINUE_UNTIL,
    breakpoints
  };
}