Browse Source

* Changed name to avoid confusion

michael 5 years ago
parent
commit
21cf390e72
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/rtl/webutils.pas

+ 2 - 2
packages/rtl/webutils.pas

@@ -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(