mirror of
				https://github.com/goldbergyoni/nodebestpractices.git
				synced 2025-11-01 01:56:06 +08:00 
			
		
		
		
	Merge pull request #123 from dip4k/master
Fixed Typing error in Section 3.11
This commit is contained in:
		| @ -368,7 +368,7 @@ All statements above will return false if used with `===` | ||||
|  | ||||
| **TL;DR:** Node 8 LTS now has full support for Async-await. This is a new way of dealing with asynchronous code which supersedes callbacks and promises. Async-await is non-blocking, and it makes asynchronous code look synchronous. The best gift you can give to your code is using async-await which provides a much more compact and familiar code syntax like try-catch. | ||||
|  | ||||
| **Otherwise:** Handling async errors in callback style is probably the fastest way to hell - this style forces to check errors all over, deal with akward code nesting and make it difficult to reason about the code flow. | ||||
| **Otherwise:** Handling async errors in callback style is probably the fastest way to hell - this style forces to check errors all over, deal with awkward code nesting and make it difficult to reason about the code flow. | ||||
|  | ||||
| 🔗[**Read more:** Guide to async await 1.0](https://github.com/yortus/asyncawait) | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Bruno Scheufler
					Bruno Scheufler