Never mind. I understood that part now looking at the full file. In the end you use createBlockBlobFromText which uses our stack. You're just requiring these libs here for the purpose of changing the concurrency.

In that case, i think that should be a method in the service client, no ?

I want to avoid having require('https') etc spread out in the code. Right now serviceclient handles all of that, so we should move these concepts there.