Future::IO::ImplBase - base class for Future::IO implementations
This package provides a few utility methods that may help writing actual Future::IO implementation classes. It is entirely optional; implementations are not required to use it.
Attempts to set the value of the $Future::IO::IMPL variable to the name of the calling package.
These methods are provided based on lower-level functionallity that the implementing class should provide.
Implemented by wrapping ready_for_read, as "sysread" uses.
Implemented by wrapping sleep.
Implemented by wrapping ready_for_write, as "syswrite" uses.
Requires a lower-level method
$f = $class->ready_for_read( $fh )
which should return a Future that completes when the given filehandle may be ready for reading.
$f = $class->ready_for_write( $fh )
which should return a Future that completes when the given filehandle may be ready for writing.
Paul Evans <firstname.lastname@example.org>
To install Future::IO, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.