Index Ai Academy
Glossary · Phase 7 · Software engineering

Event loop

The part of an async program that runs many tasks on one thread, switching whenever one is waiting.

Try it now

Watch the ready list. Each task runs to its next yield, then goes to the back of the line. The log shows them interleaving.

Learn it properly

Concurrency and async · Do many things at once: processes, threads and the event loop. About 40 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write