Fix async example (Closes #80)

This commit is contained in:
Bob Weinand 2020-02-15 18:11:57 +01:00
parent 1682ecf99f
commit 532ad87307

View File

@ -1,6 +1,6 @@
<?php <?php
$loop = uv_default_loop(); $loop = uv_default_loop();
$async = uv_async_init($loop, function($async, $status){ $async = uv_async_init($loop, function($async) {
var_dump(1); var_dump(1);
uv_close($async); uv_close($async);
}); });