Home > @i2analyze/notebook-sdk > app > TrackedMutationHandler
app.TrackedMutationHandler type
A function that performs tracked mutations.
Signature:
type TrackedMutationHandler = (application: IApplicationContents, mutations: ITrackedMutations, cancelation: ICancelation) => ITrackedMutationInfo | Promise<ITrackedMutationInfo>;
References: IApplicationContents, ITrackedMutations, ICancelation, ITrackedMutationInfo
Introduced: version 1.1
Parameters
| Parameter | Description |
|---|---|
| application | The contents of the application that the function can operate on. |
| mutations | A collection of methods that can perform tracked mutations. |
| cancelation | An object that detects when a user requests cancelation of the mutations. |
Remarks
This function must not maintain references to charts or any of their objects after the work completes.