I want to do an event emitter that gets events from libudev.
udev_monitor_get_fd gives me a file descriptor that I'd need to poll, and once the descriptor wakes up I'd need to call udev_monitor_receive_device to retrieve the event so I can emit it.
Am I able to do this with node.js and libuv or do I need to pack that monitor into it's own thread?