… | |
… | |
555 | |
555 | |
556 | Arranges for the code block to be executed as soon as the event model is |
556 | Arranges for the code block to be executed as soon as the event model is |
557 | autodetected (or immediately if this has already happened). |
557 | autodetected (or immediately if this has already happened). |
558 | |
558 | |
559 | If called in scalar or list context, then it creates and returns an object |
559 | If called in scalar or list context, then it creates and returns an object |
560 | that automatically removes the callback again when it is destroyed. |
560 | that automatically removes the callback again when it is destroyed. See |
|
|
561 | L<Coro::BDB> for a case where this is useful. |
561 | |
562 | |
562 | =item @AnyEvent::post_detect |
563 | =item @AnyEvent::post_detect |
563 | |
564 | |
564 | If there are any code references in this array (you can C<push> to it |
565 | If there are any code references in this array (you can C<push> to it |
565 | before or after loading AnyEvent), then they will called directly after |
566 | before or after loading AnyEvent), then they will called directly after |
… | |
… | |
630 | |
631 | |
631 | =item L<AnyEvent::Handle> |
632 | =item L<AnyEvent::Handle> |
632 | |
633 | |
633 | Provide read and write buffers and manages watchers for reads and writes. |
634 | Provide read and write buffers and manages watchers for reads and writes. |
634 | |
635 | |
635 | =item L<AnyEvent::Socket> |
|
|
636 | |
|
|
637 | Provides a means to do non-blocking connects, accepts etc. |
|
|
638 | |
|
|
639 | =item L<AnyEvent::HTTPD> |
636 | =item L<AnyEvent::HTTPD> |
640 | |
637 | |
641 | Provides a simple web application server framework. |
638 | Provides a simple web application server framework. |
642 | |
639 | |
643 | =item L<AnyEvent::DNS> |
640 | =item L<AnyEvent::DNS> |
… | |
… | |
668 | |
665 | |
669 | =item L<Coro> |
666 | =item L<Coro> |
670 | |
667 | |
671 | Has special support for AnyEvent via L<Coro::AnyEvent>. |
668 | Has special support for AnyEvent via L<Coro::AnyEvent>. |
672 | |
669 | |
|
|
670 | =item L<AnyEvent::AIO>, L<IO::AIO> |
|
|
671 | |
|
|
672 | Truly asynchronous I/O, should be in the toolbox of every event |
|
|
673 | programmer. AnyEvent::AIO transparently fuses IO::AIO and AnyEvent |
|
|
674 | together. |
|
|
675 | |
|
|
676 | =item L<AnyEvent::BDB>, L<BDB> |
|
|
677 | |
|
|
678 | Truly asynchronous Berkeley DB access. AnyEvent::AIO transparently fuses |
|
|
679 | IO::AIO and AnyEvent together. |
|
|
680 | |
673 | =item L<IO::Lambda> |
681 | =item L<IO::Lambda> |
674 | |
682 | |
675 | The lambda approach to I/O - don't ask, look there. Can use AnyEvent. |
683 | The lambda approach to I/O - don't ask, look there. Can use AnyEvent. |
676 | |
|
|
677 | =item L<IO::AIO> |
|
|
678 | |
|
|
679 | Truly asynchronous I/O, should be in the toolbox of every event |
|
|
680 | programmer. Can be trivially made to use AnyEvent. |
|
|
681 | |
|
|
682 | =item L<BDB> |
|
|
683 | |
|
|
684 | Truly asynchronous Berkeley DB access. Can be trivially made to use |
|
|
685 | AnyEvent. |
|
|
686 | |
684 | |
687 | =back |
685 | =back |
688 | |
686 | |
689 | =cut |
687 | =cut |
690 | |
688 | |