Theia API Documentation v1.65.0
    Preparing search index...

    Class SyncReferenceCollection<K, V>

    Synchronous implementation of AbstractReferenceCollection that requires the client to provide a value factory, used to service the acquire() function.

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _keys: Map<string, K> = ...
    _values: Map<string, V> = ...
    factory: (key: K) => V
    onDidCreate: Event<V> = ...
    onDidCreateEmitter: Emitter<V> = ...
    onWillDispose: Event<V> = ...
    onWillDisposeEmitter: Emitter<V> = ...
    references: Map<string, DisposableCollection> = ...
    toDispose: DisposableCollection = ...

    Methods