> For the complete documentation index, see [llms.txt](https://venndev.gitbook.io/vapm/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://venndev.gitbook.io/vapm/system/runsingleeventloop.md).

# runSingleEventLoop()

Only use this method when you really need to manage EventLoop according to your needs.

This is the static method used when you end a program without a loop in it, then this method will automatically create a loop to run EventLoop

```php
System::runSingleEventLoop();
```
