mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-26 20:14:47 +01:00
Fix async example (Closes #80)
This commit is contained in:
parent
1682ecf99f
commit
532ad87307
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
$loop = uv_default_loop();
|
||||
$async = uv_async_init($loop, function($async, $status){
|
||||
$async = uv_async_init($loop, function($async) {
|
||||
var_dump(1);
|
||||
uv_close($async);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user