scopeApply()
The scopeApply() function (client-side) updates the product interface.
Note:
If your script includes asynchronous actions that update the product interface in multiple points of the code, use scopeApply() instead of renverView() to avoid updating the product interface multiple times consecutively.
Syntax
Use this syntax for the scopeApply() function:
scopeApply();
Return Value
The scopeApply() function returns undefined.
Parameters
The scopeApply() function doesn't require any parameters.