Its asynchronous all the way down
Posted by: More Whidbey stuff,
on 16 Dec 2014 |
View original | Bookmarked: 0 time(s)
Captain Obvious has something to tell us:
Asynchronous methods can call synchronous ones, but synchronous methods can’t call asynchronous methods, or they must become asynchronous.
What does that mean for the Node.js developer however? Well, it means that when building infrastructure pieces for an application, if anything a method is going to call into has any chance of being, or of becoming asynchronous, then that method itself needs to be asynchronous. More or less, that in turn...