Datalayer VS Code Extension - v0.0.6
    Preparing search index...

    Interface Kernel

    Represents a Jupyter Kernel.

    interface Kernel {
        language: string;
        onDidChangeStatus: Event<KernelStatus>;
        status: KernelStatus;
        executeCode(code: string, token: CancellationToken): AsyncIterable<Output>;
    }
    Index

    Properties

    language: string

    Language of the kernel (e.g., python, r, julia).

    onDidChangeStatus: Event<KernelStatus>

    An event emitted when the kernel status changes.

    status: KernelStatus

    The current status of the kernel.

    Methods

    • Executes code in the kernel without affecting the execution count & execution history.

      Parameters

      • code: string

        Code to be executed.

      • token: CancellationToken

        Triggers the cancellation of the execution.

      Returns AsyncIterable<Output>

      Async iterable of outputs, that completes when the execution is complete.