Skip to content

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 ​

ParameterType
objobject

Returns ​

void

Remarks ​

A helper exposed by the engine's core polyfill; this inside then is the global object

The SDK is released under the Apache License 2.0