Execution options for console cell executor.

interface IRunCellOptions {
    cell: CodeCell;
    onCellExecuted: (
        args: {
            cell: CodeCell;
            error?: null | Error;
            executionDate: Date;
            success: boolean;
        },
    ) => void;
    sessionContext: ISessionContext;
}

Properties

cell: CodeCell

Cell to execute

onCellExecuted: (
    args: {
        cell: CodeCell;
        error?: null | Error;
        executionDate: Date;
        success: boolean;
    },
) => void

A callback to notify a cell completed execution.

sessionContext: ISessionContext

Document session context