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

    Module webview/services/base/baseKernelManager

    // Creating a new kernel manager type
    class CustomKernelManager extends BaseKernelManager {
    readonly managerType = 'custom' as const;

    async startNew(options?: Partial<Pick<Kernel.IModel, "name">>): Promise<Kernel.IKernelConnection> {
    // Custom kernel creation logic
    const kernel = await createMyCustomKernel(options);
    this._activeKernel = kernel;
    this._runningChanged.emit([kernel.model]);
    return kernel;
    }
    }

    Classes

    BaseKernelManager

    Interfaces

    ITypedKernelManager

    Type Aliases

    KernelManagerType