phpday 2027 - Call for Papers

The Io\Poll\Handle interface

(PHP 8 >= 8.6.0)

Introducción

Represents something an Io\Poll\Context can watch. The interface has no methods and only identifies the objects accepted by Io\Poll\Context::add().

It cannot be implemented by userland classes; attempting to do so is a fatal error. StreamPollHandle is the implementation for streams.

Sinopsis de la interfaz

namespace Io\Poll;
interface Handle {
}
+add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top