Async-Trampoline
view release on metacpan or search on metacpan
lib/Async/Trampoline.pm view on Meta::CPAN
588589590591592593594595596597598599600601602603604605606607608
$bool
=
$async
->is_error;
$bool
=
$async
->is_value;
Inspect the state of an Async (see L<
"Async States"
|/
"ASYNC STATES"
>).
=head1 WHAT THIS MODULE IS NOT
This module is not very well tested and battle-proven.
There are certainly still some bugs lurking around.
This module does not provide first-class corountines or async/await keywords.
It is just a library.
Check out the L<Future::AsyncAwait|Future::AsyncAwait> module instead.
This module does not provide first-class Future objects.
While Asyncs are Future-like, you cannot resolve an Async explicitly.
Check out the L<Future|Future> module instead.
This module does not implement an event loop.
The C<run_until_completion()> function does run a dispatch loop,
but there is no concept of events, I/O, or timers.
( run in 0.242 second using v1.01-cache-2.11-cpan-eab888a1d7d )