You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<?php
namespace app\controller;
use support\Request;
use Workerman\Timer;
class IndexController
{
public function index(Request $request)
{
Timer::sleep(1); // <=== Here is nonblocking sleep
return response('hello webman');
}
}
I create API applications for alarm notification
Who to add sleep() function without sleep the webman process ?
The text was updated successfully, but these errors were encountered: