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
When using Unicorn.call and other triggers , it would be nice to be able to wait for the completion of the call.
A promise which resolves with the equivalent of $returnValue perhaps?
I see that messageSender.send uses fetch but doesn't return its promise, and there is the added complexity of the debounced queue.
Or is there an existing way that I've missed? I see something about responseJson.calls but not sure if that would do it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When using
Unicorn.call
and other triggers , it would be nice to be able to wait for the completion of the call.A promise which resolves with the equivalent of
$returnValue
perhaps?I see that messageSender.send uses fetch but doesn't return its promise, and there is the added complexity of the debounced queue.
Or is there an existing way that I've missed? I see something about
responseJson.calls
but not sure if that would do it.Any thoughts? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions