Announcing libasync, a cross-platform D event loop
Etienne Cimon via Digitalmars-d
digitalmars-d at puremagic.com
Sun Jun 28 12:13:39 PDT 2015
On Sunday, 28 June 2015 at 18:33:28 UTC, Suliman wrote:
>> Hmm, sorry that would be g_evl.loop(10.seconds) or
>> getThreadEventLoop().loop(10.seconds). I use the vibe.d driver
>> most often.
>
> I changed paths to hardcoded to prevent issue with them, but
> next code after run only create "hey" folder and nothing more.
> No files in it:
Try putting the timers outside the callbacks in the meantime.
I'll test it tomorrow when I'm at the office =)
>
> --------------
> And how to detect if some there was some manipulation inside
> monitoring folder? How I can recive name of file that was added
> to folder?
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
More information about the Digitalmars-d
mailing list