… | … | ||
---|---|---|---|
28 | use AnyEvent (); | 28 | use AnyEvent (); |
29 | 29 | ||
30 | use Coro (); | 30 | use Coro (); |
31 | use Coro::AnyEvent (); | 31 | use Coro::AnyEvent (); |
32 | 32 | ||
33 | $VERSION = 4.912; | 33 | $VERSION = 5.0; |
34 | @EXPORT_OK = qw(timeout sleep); | 34 | @EXPORT_OK = qw(timeout sleep); |
35 | 35 | ||
36 | =item $flag = timeout $seconds; | 36 | =item $flag = timeout $seconds; |
37 | 37 | ||
38 | This function will wake up the current coroutine after $seconds | 38 | This function will wake up the current coroutine after $seconds |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |