AnyEvent-Future

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

          },
          AnyEvent::Future->new_timeout( after => 10 ),
       )->get;

DESCRIPTION

    This subclass of Future integrates with AnyEvent, allowing the await
    method to block until the future is ready. It allows AnyEvent-using
    code to be written that returns Future instances, so that it can make
    full use of Future's abilities, including Future::Utils, and also that
    modules using it can provide a Future-based asynchronous interface of
    their own.

    For a full description on how to use Futures, see the Future
    documentation.

CONSTRUCTORS

 new

       $f = AnyEvent::Future->new

lib/AnyEvent/Future.pm  view on Meta::CPAN

      },
      AnyEvent::Future->new_timeout( after => 10 ),
   )->get;

=head1 DESCRIPTION

This subclass of L<Future> integrates with L<AnyEvent>, allowing the C<await>
method to block until the future is ready. It allows C<AnyEvent>-using code to
be written that returns C<Future> instances, so that it can make full use of
C<Future>'s abilities, including L<Future::Utils>, and also that modules using
it can provide a C<Future>-based asynchronous interface of their own.

For a full description on how to use Futures, see the L<Future> documentation.

=cut

# Forward
sub as_future(&);

=head1 CONSTRUCTORS



( run in 0.267 second using v1.01-cache-2.11-cpan-0d8aa00de5b )