|
NAMEPromises::Deferred::AnyEvent - An implementation of Promises in PerlVERSIONversion 0.94SYNOPSISuse Promises backend => ['AnyEvent'], qw[ deferred collect ]; # ... everything else is the same DESCRIPTIONThe "Promise/A+" spec strongly suggests that the callbacks given to "then" should be run asynchronously (meaning in the next turn of the event loop), this module provides support for doing so using the AnyEvent module.Module authors should not care which event loop will be used but instead should just the Promises module directly: package MyClass; use Promises qw(deferred collect); End users of the module can specify which backend to use at the start of the application: use Promises -backend => ['AnyEvent']; use MyClass; AUTHORStevan Little <stevan.little@iinteractive.com>COPYRIGHT AND LICENSEThis software is copyright (c) 2014 by Infinity Interactive, Inc..This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. POD ERRORSHey! The above document had some coding errors, which are explained below:
Visit the GSP FreeBSD Man Page Interface. |