ISnapshotable Interface

Packages > @fluidframework/ordered-collection > ISnapshotable

Interface for object that can be snapshoted

TODO: move this to be use in other place TODO: currently input and output is not symmetrical, can they become symmetrical?

Signature:

export interface ISnapshotable<T> 

Methods

List of methods of this class
Method Description
asArray()
loadFrom(values)

Methods

asArray

Signature:

asArray(): T[];

Returns:

T[]

loadFrom

Signature:

loadFrom(values: T[]): void;

Parameters

List of parameters
Parameter Type Description
values T[]

Returns:

void