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