mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-08 23:17:45 +02:00
rtl: added allSettled
This commit is contained in:
parent
3bd145543d
commit
8b6bdbd553
@ -131,6 +131,7 @@ type
|
||||
TJSMapProcCallBack = reference to procedure(value: JSValue; key: JSValue);
|
||||
|
||||
{ TJSMap }
|
||||
|
||||
TJSMap = class external name 'Map'
|
||||
Private
|
||||
FSize : NativeInt; external name 'size';
|
||||
@ -841,6 +842,9 @@ type
|
||||
class function all(arg : Array of JSValue) : TJSPromise; overload;
|
||||
class function all(arg : JSValue) : TJSPromise; overload;
|
||||
class function all(arg : TJSPromiseArray) : TJSPromise; overload;
|
||||
class function allSettled(arg : Array of JSValue) : TJSPromise; overload;
|
||||
class function allSettled(arg : JSValue) : TJSPromise; overload;
|
||||
class function allSettled(arg : TJSPromiseArray) : TJSPromise; overload;
|
||||
class function race(arg : Array of JSValue) : TJSPromise; overload;
|
||||
class function race(arg : JSValue) : TJSPromise; overload;
|
||||
class function race(arg : TJSPromiseArray) : TJSPromise; overload;
|
||||
|
Loading…
Reference in New Issue
Block a user