POE::Resource::FileHandles β internal filehandle manager for POE::Kernel
| Use Case | Command | Description |
|---|---|---|
| Watch a filehandle for input | $kernel->select_read($handle, $callback) | π₯ Register a callback when $handle becomes readable |
| Watch a filehandle for output | $kernel->select_write($handle, $callback) | π€ Register a callback when $handle becomes writable |
| Remove filehandle watcher | $kernel->select_remove($handle) | βοΈ Stop watching $handle for input or output |
| Watch for filehandle errors | $kernel->select_handle_error($handle, $callback) | β οΈ Register a callback when $handle has an error condition |
There is no public API.
POE::Resource::FileHandles is a mix-in class for POE::Kernel. It provides the low-level features to manage filehandles. It is used internally by POE::Kernel, so it has no public interface.
POE watches I/O based on filehandles rather than file descriptors, which means there can be clashes between its API and an underlying descriptor-based event loop. This is usually not a problem, but it may require a work-around in certain edge cases.
Please see POE for more information about authors and contributors.
Generated by phpman v4.9.26-5-g7740029 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-24 12:21 @216.73.216.102
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)