Promises make asynchronous processing simple, consistent and easy to use. And, with TypeScript and Promises.TypeScript providing support for generic Promises, you get both type safety and IntelliSense ...
Because I'm doing this in TypeScript, I'm able to take advantage of the TypeScript datatyping support to specify a datatype for my cust parameter (it's expecting a Customer object) and what my ...