Basically I have something similar to the code below and I’m not entirely sure what order of execution is always going to happen. Right now I suppose it executes in a non blocking fashion, being But I’ve had times that it’s I have no control over when res.on(‘data’) is called because it is a socket event listener and is handled