Is there a way to make the esri/request synchronous?
I found another solution, I request myself with dojo class "request/xhr".
var layerInfo = null;
var requestURL = layerUrl + "?f=json";
layerInfo = data;
Although I see you have the dojo class "request/xhr" property of sync set to a boolean value of true, then object still has a .then method promise.
Can you help me understand how this is synchronous please?