Skip to main content

IUndoConsumer Interface

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

To use, import via @fluidframework/matrix/legacy.

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

Signature

export interface IUndoConsumer

Methods

Method Alerts Return Type Description
pushToCurrentOperation(revertible) Alpha void

Method Details

pushToCurrentOperation

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

pushToCurrentOperation(revertible: IRevertible): void;

Parameters

Parameter Type Description
revertible IRevertible