Menu
Reference
- Manticore\Ds
- Async
- Http
- Http\WebSocket
- Buffer
- Process
- Io\Poll
- Interfaces
- Handle
- Classes
- BackendUnavailableException
- Context
- FailedContextInitializationException
- FailedHandleAddException
- FailedPollOperationException
- FailedPollWaitException
- FailedWatcherModificationException
- HandleAlreadyWatchedException
- InactiveWatcherException
- InvalidHandleException
- PollException
- Watcher
- Enums
- Backend
- Event
- Manticore\Sapi
- Ffi
Handle
interface
interface Handle
A pollable resource that can be added to a {@see Context}.
The interface has no methods. Wrap a stream in StreamPollHandle, or a bare file descriptor in FdPollHandle, and pass the wrapper to {@see Context::add}. Any other implementation is rejected with {@see InvalidHandleException}.