<?php Swoole\Event->dispatch()
if success, it returns TRUE, otherwise it returns FALSE.
Waiting for I/O events only once. Compare with wait, it calls epoll_wait only once.
wait
epoll_wait
<?php while(true) { Swoole\Event::dispatch(); }
Join 1,000s others and never miss out on new tips, tutorials, and more.