You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The symptom I'm seeing (sorry, I don't have a good MRE for this) is a,
TypeError: callback(...).then is not a function
raised from throttle when the callback is this.requestQuery(). I think this is because throttle expects a callback that returns a promise, but MosaicClient.requestQuery() does not always return a callback. In particular,
Thanks! I updated Coordinator.requestQuery to always return a Promise -- here a resolved Promise with the value of client.update(), as this parallels what updateClient returns.
The symptom I'm seeing (sorry, I don't have a good MRE for this) is a,
raised from
throttle
when the callback isthis.requestQuery()
. I think this is becausethrottle
expects a callback that returns a promise, butMosaicClient.requestQuery()
does not always return a callback. In particular,this
instead of a Promise (for the base class and Menu at least)I don't know that this is the best way to address it, but for what it's worth, re-running with the following patch no longer triggers this error,
The text was updated successfully, but these errors were encountered: