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 text was updated successfully, but these errors were encountered:
carmelogallo
changed the title
Since adding [weak self] in Promise+Resolve with version 2.0.4 the promise lose the reference
Since adding [weak self] in Promise+Recover with version 2.0.4 the promise lose the reference
Sep 23, 2020
Because if I do this now the promise is never going to be executed
func exec()->Promise<MyOutput>{returnPromise<MyOutput>{ _, _, _, in
// my code}.Recover{ _ in// my code}}
myObject.exec.then(in:.main){ _ in// my code}
I'm having trouble with this as well. The recover block does not run for me in version 1.2.2. However, reversing the changes applied in 69a9213 fix the issue for me
Hi @malcommac,
as the title, is that wanted?
The text was updated successfully, but these errors were encountered: