(PECL ev >= 0.2.0)
EvIo::__construct — Constructs EvIo watcher object
$fd
,$events
,$callback
,$data
= ?,$priority
= ?Constructs EvIo watcher object and starts the watcher automatically.
fd
Can be a stream opened with fopen() or similar functions, numeric file descriptor, or socket.
events
Ev::READ
and/or
Ev::WRITE
.
See
the bit masks.
callback
See Watcher callbacks.
data
Custom data associated with the watcher.
priority
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!
Check out: eBank.nz (Art Generator) |
Netwrck.com (AI Tools) |
Text-Generator.io (AI API) |
BitBank.nz (Crypto AI) |
ReadingTime (Kids Reading) |
RewordGame |
BigMultiplayerChess |
WebFiddle |
How.nz |
Helix AI Assistant