From 21cf390e7268b5024d1f37e3e45c5832d52a1084 Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 1 Jun 2020 12:15:53 +0000 Subject: [PATCH] * Changed name to avoid confusion --- packages/rtl/webutils.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/rtl/webutils.pas b/packages/rtl/webutils.pas index 387e531..bd8b7fe 100644 --- a/packages/rtl/webutils.pas +++ b/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(