… | |
… | |
4 | |
4 | |
5 | =head1 SYNOPSIS |
5 | =head1 SYNOPSIS |
6 | |
6 | |
7 | # This package is mostly obsoleted by Coro::AnyEvent. |
7 | # This package is mostly obsoleted by Coro::AnyEvent. |
8 | |
8 | |
9 | use Coro::Timer qw(sleep timeout); |
9 | use Coro::Timer qw(timeout); |
10 | # nothing exported by default |
10 | # nothing exported by default |
11 | |
|
|
12 | sleep 10; |
|
|
13 | |
11 | |
14 | =head1 DESCRIPTION |
12 | =head1 DESCRIPTION |
15 | |
13 | |
16 | This package has been mostly obsoleted by L<Coro::AnyEvent>, the only |
14 | This package has been mostly obsoleted by L<Coro::AnyEvent>, the only |
17 | really useful function left in here is C<timeout>. |
15 | really useful function left in here is C<timeout>. |