Interface ISharedServiceRegistry

Registry for sharing heavyweight service instances across extensions.

interface ISharedServiceRegistry {
    getOrCreate<T>(serviceId, factory, options?): Promise<T>;
    has(serviceId): boolean;
    release(serviceId): Promise<void>;
    releaseAll(): Promise<void>;
}

Implemented by

Methods