-
Hi, thanks for this amazing library. I am trying to login to application which uses Firebase and after a successful login I want another action to be generated like below
I can see that authenticate action is passed to reducer as expected and promise results in a .success(user) callback. But / The method definition is as follows:
And action
I am new swift and iOS platform - any help will be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You might want to return the created effect instead. Does that fix it? About cancellable: I'm new to this too, but looking at its source code I think it works differently thank you might think. I think it creates a new effect and redirects all messages from the already existing one to the new one. On .cancel the newly created effect gets canceled, so you essentially discard the results of the authentication call, but that does not stop that authentication call, whatever the result may be. You might have already been aware of this. |
Beta Was this translation helpful? Give feedback.
You might want to return the created effect instead. Does that fix it?
About cancellable: I'm new to this too, but looking at its source code I think it works differently thank you might think. I think it creates a new effect and redirects all messages from the already existing one to the new one. On .cancel the newly created effect gets canceled, so you essentially discard the results of the authentication call, but that does not stop that authentication call, whatever the result may be.
You might have already been aware of this.