Callback Function
↔ function to call later (ie pass into Higher-Order Function)
aka Callback, Callback-Fn, Callback-Functions, Call-After-Function
References
Callback Queue
↔ Data structure "todo" list of Callback Function toawait
execution**Event Loop**
↔ (mechanism) to orchestrate Non-Blocking Concurrency Model by manageCallback Functions between Callback Queue& Call Stack, toawait
execute.catch()
↔ Chain Callback to handlePromise
Error
propagation.finally()
↔ Chain Callback to call at end, regardless of Fullfill or RejectTarget Phase
↔Event
handle at target; executes Callback Functions attach to Event ListenerConcurrency Model
↔ (mechanism) to achieve Concurrency for JS Engine via Event Loop, Callback Queue & Callback FunctionCallback Hell
↔ Deep nested Callback 🍜👨💻assert.throws()
↔assert
Static Method to complain if Callback Function Parameter does not throw ExceptionHANDLER
↔ Callback Function to execute whenPATH
matchesEvent-Driven
↔ (model) to listen/respondasync
events
via Callback FunctionCurrier Function
↔ function to pass/return another Callback FnuseCallback()
↔ Memoizing Hook to Memoize Callback for given Deps ArrayonAuthStateChanged()
↔ to trigger Callback on auth state changed (on Firebase Backend).then()
↔async
Chain Method to execute Callback on Fullfill, auto-passPromise
Value as argEvent Handler
↔ Callback to run in response toEvent
SignalFunction Type
↔ Type to annotate Methods & Callback Function with implicit return ofany
Higher-Order Function
↔ fn to receive Callback arg, to return fn, or bothEffect
↔ Callback to run inside function, under certain conditionsInversion of Control
↔ Design Pattern to invert Control Flow to Callback to increase Modularity & decouple Deps ??Microtask
↔ Callback to defer fn after parent EC popped off Call StackTask
↔ Callback in Task Queue to execute sequentially at Tick start until empty. Can enqueue more ♾ & execute in same Tick!