… | |
… | |
76 | |
76 | |
77 | $Coro::idle = $IDLE; |
77 | $Coro::idle = $IDLE; |
78 | |
78 | |
79 | =item $revents = Coro::EV::timed_io_once $fileno_or_fh, $events[, $timeout] |
79 | =item $revents = Coro::EV::timed_io_once $fileno_or_fh, $events[, $timeout] |
80 | |
80 | |
81 | Blocks the coroutine until either the given event set has occured on the |
81 | Blocks the coroutine until either the given event set has occurred on the |
82 | fd, or the timeout has been reached (if timeout is missing or C<undef> |
82 | fd, or the timeout has been reached (if timeout is missing or C<undef> |
83 | then there will be no timeout). Returns the received flags. |
83 | then there will be no timeout). Returns the received flags. |
84 | |
84 | |
85 | Consider using C<Coro::AnyEvent::readable> and C<Coro::AnyEvent::writable> |
85 | Consider using C<Coro::AnyEvent::readable> and C<Coro::AnyEvent::writable> |
86 | instead, they work with any AnyEvent-supported eventloop. |
86 | instead, they work with any AnyEvent-supported eventloop. |