Interface ICollaboratorMap

Interface for an IObservableMap that tracks collaborators.

interface ICollaboratorMap {
    changed: ISignal<ICollaboratorMap, IObservableMap.IChangedArgs<ICollaborator>>;
    isDisposed: boolean;
    localCollaborator: ICollaborator;
    size: number;
    type: "Map";
    clear(): void;
    delete(key): undefined | ICollaborator;
    dispose(): void;
    get(key): undefined | ICollaborator;
    has(key): boolean;
    keys(): string[];
    set(key, value): undefined | ICollaborator;
    values(): ICollaborator[];

Hierarchy (view full)


A signal emitted when the map has changed.

isDisposed: boolean

Test whether the object has been disposed.


This property is always safe to access.

localCollaborator: ICollaborator

The local collaborator on a model.

size: number

The number of key-value pairs in the map.

type: "Map"

The type of the Observable.