Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt method is disposed before being completed #183

Closed
mashe opened this issue Apr 4, 2022 · 1 comment
Closed

Adapt method is disposed before being completed #183

mashe opened this issue Apr 4, 2022 · 1 comment

Comments

@mashe
Copy link
Contributor

mashe commented Apr 4, 2022

When calculations in adapt method take some time and another step is received in the Flow before adapt is completed, FlowCoordinator disposes the current adapt in order to start a new one due to the usage of .flatMapLatest

I believe that such behaviour is not expected and FlowCoordinator is not designed to cancel calculations of adapt when a new Step is received.

@mashe
Copy link
Contributor Author

mashe commented Apr 27, 2022

resolved with #184

@mashe mashe closed this as completed Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant