mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-18 02:49:09 +02:00
* Changed name to avoid confusion
This commit is contained in:
parent
cac354d470
commit
21cf390e72
@ -7,11 +7,11 @@ interface
|
|||||||
uses
|
uses
|
||||||
web, js;
|
web, js;
|
||||||
|
|
||||||
function Sleep(ms: NativeInt): TJSPromise;
|
function AsyncSleep(ms: NativeInt): TJSPromise;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
function Sleep(ms: NativeInt): TJSPromise;
|
function AsyncSleep(ms: NativeInt): TJSPromise;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
Result := TJSPromise.New(
|
Result := TJSPromise.New(
|
||||||
|
Loading…
Reference in New Issue
Block a user