Datalayer Desktop - v0.0.2
    Preparing search index...

    Runtime service implementation using dependency injection. No global state, no singletons - all dependencies injected.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    allRuntimes: RuntimeJSON[] = []
    expirationTimers: Map<string, Timeout> = ...
    globalExpirationCallbacks: Set<(podName: string) => void> = ...
    globalExpirationTimers: Map<string, Timeout> = ...
    lastRuntimesFetch: null | number = null
    logger: ILogger

    Logger instance for this service

    name: string

    Service name for logging

    notebookRuntimes: Map<string, NotebookRuntime> = ...
    RUNTIME_CACHE_TTL: 30000
    runtimeCreationPromises: Map<string, Promise<RuntimeJSON>> = ...
    runtimeListRefreshCallbacks: Set<(runtimes: RuntimeJSON[]) => void> = ...
    sdk: DatalayerClient
    stateChangeCallbacks: Set<RuntimeStateCallback> = ...

    Accessors

    Methods

    • Update global expiration timers for all platform runtimes. This monitors ALL runtimes and notifies when they expire.

      Parameters

      • runtimes: RuntimeJSON[]

      Returns void