Function: promisify()
ts
function promisify(obj): void;Defined in: types/desktop-engine.d.ts:5382
Wraps the methods on an object's prototype to return Promises (injecting success/fail into the first argument object)
Parameters
| Parameter | Type |
|---|---|
obj | object |
Returns
void
Remarks
A helper exposed by the engine's core polyfill; this inside then is the global object
