onResolve = answer => {
        answers[actions.indexOf(action)] = answer
        outstanding -= 1

        if (outstanding <= 0) {
          this.resolve(answers)
        }
      }
Set up an action such that it depends on the result of another
series of actions.