Home > @i2analyze/notebook-sdk > app > MutationResponseHandler
app.MutationResponseHandler type
A function that receives the results of a mutation.
Signature:
type MutationResponseHandler = (error: Error | null, result: IMutationResult, application: IApplicationContents) => void;
References: IMutationResult, IApplicationContents
Introduced: version 1.1
Parameters
Parameter | Description |
---|---|
error | The Error that was thrown if the mutation failed or was aborted. |
result | An IMutationResult that contains the results of the mutation. |
application | The contents of the application after the mutation was performed. |