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

    Module webview/services/base/baseSessionManager

    // Creating a new session manager type
    class CustomSessionManager extends BaseSessionManager {
    readonly managerType = 'custom' as const;

    async startNew(options: Session.ISessionOptions): Promise<Session.ISessionConnection> {
    // Create kernel first
    const kernel = await this._kernelManager.startNew(options.kernel);

    // Wrap in session connection
    const session = createSessionConnection(kernel, options);
    this._activeSession = session;
    this._runningChanged.emit([session.model]);
    return session;
    }
    }

    Classes

    BaseSessionManager

    Type Aliases

    SessionManagerType