cujojs/meld

Retry Fails When Using Around

Closed this issue · 1 comments

I'm currently using Meld to dynamically support adding interceptors to specific features in my framework. e.g. when placing ajax calls, authentication interceptor, cache interceptor, offline interceptor, etc...
The problem that I'm running into is that when an interceptor receives a rejection, it might want to adjust something, and try again. Unfortunately calling joinpoint.proceed() a second time fails because the pointer in the internal array has already been incremented.
How can I handle a catch scenario where I need to call joinpoint.proceed() a second time?

I can't seem to duplicate this outside of my framework, so I'm going to close...