the function to wrap
the parent property of the function f.e. formContext.data.process for formContext.data.process.getEnabledProcesses
Rest
...args: any[]the arguments to pass to the function
a Promise that resolves with the callback response
Generated using TypeDoc
Wraps a function that takes a callback as its last parameter and returns a Promise.