mirror of
https://github.com/danog/ext-uv.git
synced 2024-12-02 17:38:26 +01:00
13 lines
151 B
PHP
13 lines
151 B
PHP
<?php
|
|
$loop = uv_default_loop();
|
|
|
|
$queue = uv_queue_work($loop, function(){
|
|
echo "[queue]";
|
|
}, function(){
|
|
echo "[finished]";
|
|
});
|
|
|
|
|
|
uv_run();
|
|
|