We call this inversion of control, when you take part of your program and give over control of its execution to another third party

(You don't know JS - async & performance)

Great definition. In case of Dependency Injection, we delegate the construction of the domain model graph. In case of continuations, we instead delegate the correct execution of the remaining control flow.