ext-uv/tests/800-uv_queue_work.phpt
2012-07-07 22:57:42 +09:00

17 lines
237 B
PHP

--TEST--
Check for uv_queue_work
--FILE--
<?php
$loop = uv_default_loop();
$a = function(){
echo "[queue]";
};
$b = function(){
echo "[finished]";
};
$queue = uv_queue_work($loop, $a, $b);
uv_run();
--EXPECT--
[finished][queue]