Skip to main content
Version: v1

SharedMapRevertible Class

Tracks a change on a shared map allows reverting it

Signature​

export declare class SharedMapRevertible implements IRevertible

Implements: IRevertible

Constructors​

ConstructorDescription
(constructor)(changed, map)Constructs a new instance of the SharedMapRevertible class

Methods​

MethodReturn TypeDescription
discard()void
revert()void

Constructor Details​

(constructor)​

Constructs a new instance of the SharedMapRevertible class

Signature​

constructor(changed: IValueChanged, map: ISharedMap);

Parameters​

ParameterTypeDescription
changedIValueChanged
mapISharedMap

Method Details​

discard​

Signature​

discard(): void;

revert​

Signature​

revert(): void;