Posix-compliant file polling based on the `poll` system call. This form of file polling takes linear time with relation for the number of file descriptors to be polled, which is perfectly fine for polling small numbers of file descriptors. For polling hundreds or thousands of file descriptors, consider using the poller from async-epoll, which is based on the Linux-only `epoll` system calls.
dieOnErr : E1 World [Errno] a -> IO1 a0 FileHandle : Typehdummy : FileHandlerecord Poller : TypeMkPoller : IO1 () -> (Clock Duration -> IO1 ()) -> IO1 () -> (Fd -> PollEvent -> Bool -> (Either Errno PollEvent -> IO1 ()) -> IO1 (IO1 ())) -> Poller.poll : Poller -> IO1 ()poll : Poller -> IO1 ().pollWait : Poller -> Clock Duration -> IO1 ()pollWait : Poller -> Clock Duration -> IO1 ().release : Poller -> IO1 ()release : Poller -> IO1 ().pollFile : Poller -> Fd -> PollEvent -> Bool -> (Either Errno PollEvent -> IO1 ()) -> IO1 (IO1 ())pollFile : Poller -> Fd -> PollEvent -> Bool -> (Either Errno PollEvent -> IO1 ()) -> IO1 (IO1 ())posixPoller : IO1 Pollerinitialize the state of a posix-compatible poller.