ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/EV/EV.pm
(Generate patch)

Comparing Coro/EV/EV.pm (file contents):
Revision 1.104 by root, Fri Jul 19 15:29:46 2019 UTC vs.
Revision 1.105 by root, Tue Feb 18 22:31:43 2020 UTC

81Blocks the coroutine until either the given event set has occurred on the 81Blocks the coroutine until either the given event set has occurred on the
82fd, or the timeout has been reached (if timeout is missing or C<undef> 82fd, or the timeout has been reached (if timeout is missing or C<undef>
83then there will be no timeout). Returns the received flags. 83then there will be no timeout). Returns the received flags.
84 84
85Consider using C<Coro::AnyEvent::readable> and C<Coro::AnyEvent::writable> 85Consider using C<Coro::AnyEvent::readable> and C<Coro::AnyEvent::writable>
86instead, they work with any AnyEvent-supported eventloop. 86instead, 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
90Blocks the coroutine for at least C<$after> seconds. 90Blocks the coroutine for at least C<$after> seconds.
91 91
92Consider using C<Coro::AnyEvent::sleep> instead, which works with any 92Consider using C<Coro::AnyEvent::sleep> instead, which works with any
93AnyEvent-supported eventloop. 93AnyEvent-supported event loop.
94 94
95=cut 95=cut
96 96
971; 971;
98 98

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines