The callback function to wrap.
Optional
scope: anyThe scope for the callback function.
Optional
isErrorCallback: booleanSet to true if the function is an error callback. If true, and you do not provide a separate callback, alert will popup showing the error message.
Optional
responseTransformer: ((json?: any) => T)Function to be invoked to transform the response object before invoking the primary callback function.
This is used to automatically parse returned JSON and call another success function passing that parsed JSON.