Future::XS - experimental XS implementation of Future
Future::XS
Future
my $future = Future::XS->new; perform_some_operation( on_complete => sub { $future->done( @_ ); } ); $future->on_ready( sub { say "The operation is complete"; } );
This module provides an XS-based implementation of the Future class. It is currently experimental and shipped in its own distribution for testing purposes, though once it seems stable the plan is to move it into the main Future distribution and load it automatically in favour of the pureperl implementation on supported systems.
Paul Evans <leonerd@leonerd.org.uk>
To install Future::XS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Future::XS
CPAN shell
perl -MCPAN -e shell install Future::XS
For more information on module installation, please visit the detailed CPAN module installation guide.