Closed iyamk closed 1 year ago
@iyamk
$global $vk;
$pool[] = async(function () use ($vk) {
$vk->listen();
return 2;
})->then(function (int $output) {
echo 'ok';
});
Dear contributor,
because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.
I make:
And it throws an error because vk is NULL! it is in the global scope
And text output in a function is not displayed in the console