… | |
… | |
81 | Blocks the coroutine until either the given event set has occurred 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 event loop. |
87 | |
87 | |
88 | =item Coro::EV::timer_once $after |
88 | =item Coro::EV::timer_once $after |
89 | |
89 | |
90 | Blocks the coroutine for at least C<$after> seconds. |
90 | Blocks the coroutine for at least C<$after> seconds. |
91 | |
91 | |
92 | Consider using C<Coro::AnyEvent::sleep> instead, which works with any |
92 | Consider using C<Coro::AnyEvent::sleep> instead, which works with any |
93 | AnyEvent-supported eventloop. |
93 | AnyEvent-supported event loop. |
94 | |
94 | |
95 | =cut |
95 | =cut |
96 | |
96 | |
97 | 1; |
97 | 1; |
98 | |
98 | |