GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Future::IO::ImplBase(3) User Contributed Perl Documentation Future::IO::ImplBase(3)

"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.

   __PACKAGE__->APPLY

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.

Requires a lower-level method

   $f = $class->ready_for_write( $fh )

which should return a Future that completes when the given filehandle may be ready for writing.

Paul Evans <leonerd@leonerd.org.uk>
2022-04-09 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.