* Overloaded form of _then

This commit is contained in:
michael 2019-04-04 18:35:04 +00:00
parent 00baed38ae
commit f2f782f6cc

View File

@ -724,6 +724,7 @@ type
class function resolve(value : JSValue): TJSPromise; overload;
class function resolve : TJSPromise; overload;
function _then (onAccepted : TJSPromiseResolver) : TJSPromise; external name 'then';
function _then (onAccepted,OnRejected: TJSPromiseResolver) : TJSPromise; external name 'then';
function catch (onRejected : TJSPromiseResolver) : TJSPromise;
function _finally(value : TJSPromiseFinallyHandler): TJSPromise;
end;