On 08/09/15 15:51, Nagy, Attila wrote:
The goal here is that the HTTP server shouldn't start until it can fetch the desired data. Of course I can do this in a synchronous way, but it feels so unnatural and bad practice to fetch the same stuff
Load the resources in a callback using "reactor.callWhenRunning" and only then call reactor.listenTCP or whatever.