How to run below script using RevoltEventLoop
use AmpLoop;
Loop::Run(static function() {
echo "Callback function executed!" . PHP_EOL;
})
Im tried this code but it return blank response
use RevoltEventLoop;
EventLoop::run(static function() {
echo "Callback function executed!" . PHP_EOL;
});
Please help me, thank you!
New contributor
Andika Saputra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.