Idris2Doc : IO.Async.Loop.Poller

IO.Async.Loop.Poller

(source)
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.

Definitions

dieOnErr : E1World [Errno] a->IO1a
Totality: total
Visibility: export
0FileHandle : Type
Totality: total
Visibility: public export
hdummy : FileHandle
Totality: total
Visibility: export
recordPoller : Type
Totality: total
Visibility: public export
Constructor: 
MkPoller : IO1 () -> (ClockDuration->IO1 ()) ->IO1 () -> (Fd->PollEvent->Bool-> (EitherErrnoPollEvent->IO1 ()) ->IO1 (IO1 ())) ->Poller

Projections:
.poll : Poller->IO1 ()
.pollFile : Poller->Fd->PollEvent->Bool-> (EitherErrnoPollEvent->IO1 ()) ->IO1 (IO1 ())
.pollWait : Poller->ClockDuration->IO1 ()
.release : Poller->IO1 ()
.poll : Poller->IO1 ()
Totality: total
Visibility: public export
poll : Poller->IO1 ()
Totality: total
Visibility: public export
.pollWait : Poller->ClockDuration->IO1 ()
Totality: total
Visibility: public export
pollWait : Poller->ClockDuration->IO1 ()
Totality: total
Visibility: public export
.release : Poller->IO1 ()
Totality: total
Visibility: public export
release : Poller->IO1 ()
Totality: total
Visibility: public export
.pollFile : Poller->Fd->PollEvent->Bool-> (EitherErrnoPollEvent->IO1 ()) ->IO1 (IO1 ())
Totality: total
Visibility: public export
pollFile : Poller->Fd->PollEvent->Bool-> (EitherErrnoPollEvent->IO1 ()) ->IO1 (IO1 ())
Totality: total
Visibility: public export
posixPoller : IO1Poller
  initialize the state of a posix-compatible poller.

Totality: total
Visibility: export