mirror of
https://github.com/danog/ext-uv.git
synced 2024-12-02 17:38:26 +01:00
9 lines
169 B
PHP
9 lines
169 B
PHP
<?php
|
|
$poll = uv_poll_init(uv_default_loop(), 0);
|
|
|
|
uv_poll_start($poll, UV::READABLE | UV::WRITABLE, function($rsc, $stat, $ev, $fd){
|
|
uv_close($rsc);
|
|
});
|
|
|
|
uv_run();
|