1Future::IO::ImplBase(3)User Contributed Perl DocumentatioFnuture::IO::ImplBase(3)
2
3
4
6 "Future::IO::ImplBase" - base class for "Future::IO" implementations
7
9 This package provides a few utility methods that may help writing
10 actual Future::IO implementation classes. It is entirely optional;
11 implementations are not required to use it.
12
14 APPLY
15 __PACKAGE__->APPLY
16
17 Attempts to set the value of the $Future::IO::IMPL variable to the name
18 of the calling package.
19
21 These methods are provided based on lower-level functionallity that the
22 implementing class should provide.
23
24 sysread
25 Requires a lower-level method
26
27 $f = $class->ready_for_read( $fh )
28
29 which should return a Future that completes when the given filehandle
30 may be ready for reading.
31
32 syswrite
33 Requires a lower-level method
34
35 $f = $class->ready_for_write( $fh )
36
37 which should return a Future that completes when the given filehandle
38 may be ready for writing.
39
41 Paul Evans <leonerd@leonerd.org.uk>
42
43
44
45perl v5.30.1 2020-01-30 Future::IO::ImplBase(3)