Programming ConceptsConcurrency

Concurrency is the ability of a system to execute multiple tasks at overlapping times without necessarily running them simultaneously.

// JavaScript handles concurrency using the event loop
setTimeout(() => console.log('Task 1'), 1000);
console.log('Task 2');