InterceptionResponseinterface
Describes the response returned by an interception handler.
If the platform operation has been intercepted before the execution of its default implementation and the interception handler returns undefined or an empty object,
the platform will proceed with the execution of the default operation implementation.
If the platform operation has been intercepted after the execution of its default implementation and the interception handler returns undefined or an empty object,
the platform will return the already calculated result.
Properties (2)
| Property | Type | Default | Required | Description |
|---|---|---|---|---|
| operationArgs⚓︎ | any[] | x | x | Arguments with which to proceed the execution of the intercepted platform operation. This property is taken into account only when the platform operation is intercepted before the execution of its default implementation. |
| operationResult⚓︎ | any | x | x | Result from the platform operation. Use this property to return a result from your interception handler when the platform operation has been intercepted after the execution of its default implementation. If the platform operation has been intercepted before the execution of its default implementation and this property is set, the execution of the default implementation will be prevented and the platform will return the specified result. |