June 30, 2015 Re: Announcing libasync, a cross-platform D event loop | ||||
---|---|---|---|---|
| ||||
Posted in reply to suliman | 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); |
July 11, 2015 Re: Announcing libasync, a cross-platform D event loop | ||||
---|---|---|---|---|
| ||||
Posted in reply to Etienne Cimon | > There's a path in the DWFileChange change structure, you can access it with change.path. You'll have to put it in a path parser to access the filename, such as std.path
Could you give an example of usage? And where DWFileChange structure is located? I do not see it in watcher.d
|
Copyright © 1999-2021 by the D Language Foundation