Skip to content
Discussion options

You must be logged in to vote

return .none

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.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@kaduva
Comment options

@Dominic263
Comment options

@mbrandonw
Comment options

Answer selected by stephencelis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants