use of com.twosigma.beakerx.kernel.magic.command.outcome.MagicCommandOutcomeItem in project beakerx by twosigma.
the class MagicCommand method executeFrame.
@Override
public void executeFrame(Code code, KernelFunctionality kernel, Message message, int executionCount) {
MagicCommandOutcomeItem execute = execute(code, executionCount, false);
sendMagicCommandOutcome(execute, kernel, message, executionCount);
TryResult result = execute.getResult();
SimpleEvaluationObject seo = execute.getSimpleEvaluationObject();
handleResult(seo, result);
}
use of com.twosigma.beakerx.kernel.magic.command.outcome.MagicCommandOutcomeItem in project beakerx by twosigma.
the class MagicCommand method executeLastFrame.
@Override
public void executeLastFrame(Code code, KernelFunctionality kernel, Message message, int executionCount) {
MagicCommandOutcomeItem execute = execute(code, executionCount, true);
sendRepliesWithStatus(singletonList(execute), kernel, message, executionCount);
TryResult result = execute.getResult();
SimpleEvaluationObject seo = execute.getSimpleEvaluationObject();
handleResult(seo, result);
}
Aggregations