Is there any provision like fs.Watch but for file descriptors?
Is there any provision like fs.Watch but for file descriptors?
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Fds can refer to non files so there doesn't seem to be js level support. You'll want to use UV_poll_t https://github.com/search?q=uv_poll_t+repo%3AJoyent%2Fnode&ref=searchresults&type=Code
Nikhil
You received this message because you are subscribed to a topic in the Google Groups "nodejs" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nodejs/e2IHI4l5AW4/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to nodejs+un...@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "nodejs" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nodejs/e2IHI4l5AW4/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to nodejs+un...@googlegroups.com.
File watchers use is specific routines at the back such as inotify, kqueue or fsevent. That said this is not the same as what UV_poll_t does. The former is for watching higher level changes to files, that is be notified when the file changes, the latter is for I/O readiness.
What is your use case for adding FD based fswatch?
Nikhil