haskell / haskell/win32

Watching a directory for changes and responding - is there support for wait functions?

Open
#135 1 comment 0 reactions 0 assignees View on GitHub
new feature
Dominant language
Haskell
Stars
101
Forks
65
PR merge metrics
No merged PRs in 30d

Description

Going off the [official docs][1], if I want to watch a directory for changes (and respond to them), I need a [wait function][2]. However, I couldn't find any equivalents to (for example) [``RegisterWaitForSingleObject``][3], which I assume is what I would need. Am I missing something, or is there another way to do this using this library?

[1]: https://docs.microsoft.com/en-us/windows/win32/fileio/obtaining-directory-change-notifications
[2]: https://docs.microsoft.com/en-us/windows/win32/sync/wait-functions
[3]: https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-registerwaitforsingleobject?redirectedfrom=MSDN

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.