Announcing libasync, a cross-platform D event loop

Etienne via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 30 05:30:27 PDT 2015


On Tuesday, 30 June 2015 at 04:38:31 UTC, suliman wrote:
> Ok, but code still do exit after it's run. Look like loop is 
> not started

Yes, you need to watch for the return type which will be false in 
case of error

while(getThreadEventLoop().loop(10.seconds))
continue;

writeln(getThreadEventLoop().error);


More information about the Digitalmars-d mailing list