Alias sleep(int) for Thread.sleep(dur!("seconds")( int ));
Daniel Kozak
kozzi11 at gmail.com
Wed Nov 13 07:34:56 UTC 2019
On Tue, Nov 12, 2019 at 11:50 PM Marcone via Digitalmars-d-learn
<digitalmars-d-learn at puremagic.com> wrote:
>
>
> Can you make Alias for:
> task!func().executeInNewThread();
>
> Thank you!
AFAIK that is not possible without some wrapper because
executeInNewThread is member function of Task so it will need this
reference for object
More information about the Digitalmars-d-learn
mailing list