// TODO assert that context has gotten a return value
}
} catch (Exception x) {
context.onFailure(x);
}
return new AtomNode(exec, nodeId, /* TODO what if synchronous? */ prior) {
@Override protected String getTypeDisplayName() {
return step.getDescriptor().getDisplayName();
}
};
}