IPromise interface allows to run callback written in JS from C++. For using this interface please use its implementation from OccViewer.IPromise.implement.
Create IPromise wrapper from given object with resolve/reject functions.
Custom callback function.
Custom on error callback function.
IPromise interface allows to run callback written in JS from C++. For using this interface please use its implementation from OccViewer.IPromise.implement.