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