Promise ↔ Object placeholder for async operation & eventual Settled result
container for async delivered value
container for a future value
proxy for unknown value from async action, used to defer return value (success or fail) to future
Promise Lifecycle
(model) Promise process to start as Pending & end Settled into Fullfill || Reject
Promise Combinator
Promise.race()
to set Race Condition to return first Promise to Settled
Promise.any()
Promise.allSettled()
References
Fetch API↔ Web API to Data Fetch Web Resource viaasyncPromisePromise Lifecycle↔ (model)Promiseprocess to start as Pending & end Settled into Fullfill || Rejectawait↔ JS Keyword to suspend execute JS code portion untilPromiseSettled & returns resultasync function↔ JS Keyword to Declare function with Asynchronous Code to returnPromise& allowawaitinside.json()↔asyncChain Method to returnPromiseparse as JSON formatimport()↔ JS Operator to Dynamically load Module viaPromisePromise.race()↔ to set Race Condition to return firstPromiseto Settled.then()↔asyncChain Method to execute Callback on Fullfill, auto-passPromiseValue as arg.catch()↔ Chain Callback to handlePromiseErrorpropagationfs-extra↔ Node Lib extendsfswithPromise-based functions that cut down on Boilerplate