How do you pass additional parameters to the request interceptor before or after functions?
If not, it would be easier to have a simplified repro case to diagnose. I'd like to see how you are currently using bind.
Ok, I think I understand better now. I don't know an answer off the top of my hand, but I will look into it.
Noah,
The issue I am having is that the scope of the inteceptor before or after functions have no access to vars or any scope outside the function. So I have tried .bind(this) and every other trick I am aware of. So I am wondering if you can pass an additional parameter or bind to the outside scope of the function.
Robert
@RobertScheitlin__GISP - I'm not sure I understand. Are you asking for how to send two or more parameters to the before/after functions?
@Noah-Sager
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.