Searched refs:read (Results 1 – 1 of 1) sorted by relevance
7 private array $read = []; variable in EventLoop19 $this->select($this->read);23 private function select(array $read): void argument30 foreach ($read as $id => $resource) {42 public function read($resource, callable $callback): void function in EventLoop45 $this->read[$id] = $resource;50 [$read, $write] = stream_socket_pair(57 stream_set_blocking($read, false);63 $fiber = new Fiber(function () use ($loop, $read): void {67 $loop->read($read, fn() => $fiber->resume());[all …]
Completed in 5 milliseconds