GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Promises::Deferred::AE(3) User Contributed Perl Documentation Promises::Deferred::AE(3)

Promises::Deferred::AE - An implementation of Promises in Perl

version 0.94

    use Promises backend => ['AE'], qw[ deferred collect ];

    # ... everything else is the same

The "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 AE 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 => ['AE'];
    use MyClass;

Stevan Little <stevan.little@iinteractive.com>

This 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.

Hey! The above document had some coding errors, which are explained below:
Around line 63:
=back without =over
2014-12-28 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.