AnyEvent 2.0 review

Download
by rbytes.net on

AnyEvent provides an identical interface to multiple event loops

License: Other/Proprietary License with Source
File size: 0K
Developer: Marc A. Lehmann
0 stars award from rbytes.net

AnyEvent provides an identical interface to multiple event loops. AnyEvent library allows module authors to utilize an event loop without forcing module users to use the same event loop (as only a single event loop can coexist peacefully at any one time).

The interface itself is vaguely similar but not identical to the Event module. On the first call of any method, the module tries to detect the currently loaded event loop by probing for an already-loaded event loop, such as Glib or Event.

The first one found is used. If none is found, the module tries to load an event module.

What's New in This Release:
The API has been streamlined (no arguments to callbacks anymore, and r and w watchers must be separate), allowing for more efficient implementations.
A pure Perl event loop has been implemented as a last resort fallback when nothing better can be found, enabling AnyEvent-using modules to work when no XS or precompiled event modules are available.

AnyEvent 2.0 search tags