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);