mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-27 04:24:45 +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();
|
|
|