[Pas2js] Async, AWait

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Jun 1 11:51:04 CEST 2020


On Mon, 1 Jun 2020 10:17:07 +0200 (CEST)
Michael Van Canneyt <michael at freepascal.org> wrote:

> On Sun, 31 May 2020, warleyalex via Pas2js wrote:
> 
> > Nice!
> >
> > The Sleep method is missing in pa2js! This method is very useful, I
> > think it should live at sysutils unit.  
> 
> A nice idea.

Maybe choose another name?
Sleep() without await will return immediately and code ported from
Delphi/FPC won't notice the problem.

Mattias


More information about the Pas2js mailing list