xref: /php-uv/examples/queue.php (revision 4e4f9dc0)
1<?php
2$loop = uv_default_loop();
3
4$queue = uv_queue_work($loop, function(){
5    echo "[queue]";
6}, function(){
7    echo "[finished]";
8});
9
10
11uv_run();
12
13