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

    Default implementation of the service container. Provides lazy initialization of services with proper dependency injection.

    const container = new ServiceContainer(context);
    await container.initialize();

    // Use services
    await container.authProvider.login();
    const doc = await container.documentBridge.openDocument(document);

    Implements

    Index

    Constructors

    Properties

    _authProvider?: SDKAuthProvider
    _documentBridge?: DocumentBridge
    _errorHandler?: IErrorHandler
    _kernelBridge?: KernelBridge
    _logger?: ILogger
    _loggerManager?: ILoggerManager
    _notebookNetwork?: NotebookNetworkService
    _sdk?: DatalayerClient
    context: ExtensionContext

    Accessors

    Methods

    • Initializes core services needed during extension activation. Only initializes SDK, auth, and logging - other services are lazy.

      Performance: This method is optimized to initialize only what's needed during extension activation. Document/kernel services are deferred until first use (typically when a command is invoked).

      Returns Promise<void>