lib/kernelconnector.js
/**
     * Executes the given request on the kernel associated with the connector.
     * @param content: IExecuteRequestMsg to forward to the kernel.
     * @param ioCallback: Callable to forward IOPub messages of the kernel to.
     * @returns Promise<KernelMessage.IExecuteReplyMsg>
     */
Executes the given request on the kernel associated with the connector.
@param content: IExecuteRequestMsg to forward to the kernel.
@param ioCallback: Callable to forward IOPub messages of the kernel to.
@returns Promise
Executes the given request on the kernel associated with the connector . @param content : IExecuteRequestMsg to forward to the kernel . @param ioCallback : Callable to forward IOPub messages of the kernel to . @returns Promise
fetch(content, ioCallback) {
        const kernel = this._session.session.kernel;
        if (!kernel) {
            return Promise.reject(new Error("Require kernel to perform variable inspection!"));
        }
        let future = kernel.requestExecute(content);
        future.onIOPub = ((msg) => {
            ioCallback(msg);
        });
        return future.done;
    }
fetch ( content , ioCallback ) { const kernel = this . _session . session . kernel ; if ( ! kernel ) { return Promise . reject ( new Error ( "Require kernel to perform variable inspection!" ) ) ; } let future = kernel . requestExecute ( content ) ; future . onIOPub = ( ( msg ) => { ioCallback ( msg ) ; } ) ; return future . done ; }
Executes the given request on the kernel associated with the connector.
Executes the given request on the kernel associated with the connector .