Future futureFromDependencies()

in src/main/java/com/twitter/nodes/BooleanOperationNode.java [70:80]


  Future futureFromDependencies() {
    if (!lazy) {
      // kick-off all the dependent nodes so they execute async.
      for (Node<Boolean> operand : operands) {
        operand.apply();
      }
    }

    // Note: calling apply on a Node is idempotent and will always give you back the same Future.
    return operands.get(0).apply();
  }