parallel icon indicating copy to clipboard operation
parallel copied to clipboard

not get response from call a user function

Open aabhishek04 opened this issue 5 years ago • 0 comments

I'am not getting response from user define methods . is there any way to get response to hit user method and get response...

getSum(2,2), $this->getDivsion(2,2), $this->getMultipel(2,2) ]; $promises = []; foreach ($funs as $fun) { $promises[] = Worker\enqueueCallable('call_user_func',$fun); } $responses = Promise\wait(Promise\all($promises)); foreach ($responses as $key => $response) { \printf($response, $key); } } }

aabhishek04 avatar Aug 06 '20 04:08 aabhishek04