Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Promises::Deferred::AnUsernContributed Perl DocPromises::Deferred::AnyEvent(3)

NAME
       Promises::Deferred::AnyEvent - An implementation	of Promises in Perl

VERSION
       version 0.94

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

	   # ... everything else is the	same

DESCRIPTION
       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
       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;

AUTHOR
       Stevan Little <stevan.little@iinteractive.com>

COPYRIGHT AND LICENSE
       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.

POD ERRORS
       Hey! The	above document had some	coding errors, which are explained
       below:

       Around line 63:
	   =back without =over

perl v5.32.0			  2014-12-28   Promises::Deferred::AnyEvent(3)

NAME | VERSION | SYNOPSIS | DESCRIPTION | AUTHOR | COPYRIGHT AND LICENSE | POD ERRORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Promises::Deferred::AnyEvent&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help