Variable outside of callback in NodeJS?

What you're asking for is synchronous (or blocking) execution, and that's really contrary to the design and spirit of node.js.

Node. Js uses the Continuation Passing Style for all of it's asynchronous interfaces. There is a lot of discussion around this and modules that have been created for easing the pain of nested callbacks.

There were rumors for awhile that node. Js might start reintroducing Promises into it's core in the v0.7. X branch, but I'm not sure if that's true or not.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions