mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-30 04:29:01 +01:00
Fix async example (Closes #80)
This commit is contained in:
parent
1682ecf99f
commit
532ad87307
@ -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);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user