Skip to main content

TrackingGroup Class

This API is provided for existing users, but is not recommended for new users.

To use, import via @fluidframework/merge-tree/legacy.

For more information about our API support guarantees, see here.

Signature

export declare class TrackingGroup implements ITrackingGroup

Implements: ITrackingGroup

Constructors

ConstructorAlertsDescription
(constructor)()BetaConstructs a new instance of the TrackingGroup class

Properties

PropertyAlertsModifiersTypeDescription
sizeBetareadonlynumber
trackedBetareadonlyreadonly Trackable[]

Methods

MethodAlertsReturn TypeDescription
has(trackable)Betaboolean
link(trackable)Betavoid
unlink(trackable)Betaboolean

Constructor Details

(constructor)

Constructs a new instance of the TrackingGroup class

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature

constructor();

Property Details

size

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature

get size(): number;

Type: number

tracked

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature

get tracked(): readonly Trackable[];

Type: readonly Trackable[]

Method Details

has

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature

has(trackable: Trackable): boolean;

Parameters

ParameterTypeDescription
trackableTrackable

Returns

Return type: boolean

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

link(trackable: Trackable): void;
ParameterTypeDescription
trackableTrackable
This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

unlink(trackable: Trackable): boolean;
ParameterTypeDescription
trackableTrackable

Return type: boolean