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

    Interface Kernels

    API for interacting with Jupyter kernels.

    interface Kernels {
        getKernel(uri: Uri): Thenable<Kernel>;
    }
    Index
    • Gets the kernel associated with a given resource.

      For instance, if the resource is a notebook URI, returns the kernel associated with that notebook.

      Only kernels which have already been started by the user and belonging to Notebooks that are currently opened will be returned.

      Parameters

      • uri: Uri

        URI of the resource (notebook document)

      Returns Thenable<Kernel>

      The kernel instance, or undefined if no kernel is associated