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

Possibility to resume the loop #84

Closed
maciejmrozinski opened this issue Mar 21, 2017 · 0 comments
Closed

Possibility to resume the loop #84

maciejmrozinski opened this issue Mar 21, 2017 · 0 comments

Comments

@maciejmrozinski
Copy link

Hi,

You can read my original post here. I described issue with using block-react lib since there is no way to resume the stopped loop. @clue advised to use second loop (which I use now and it's only non-perfect, working solution), but as i read in issues and PRs here, You're aiming to make one global loop, so this won't work anymore. My idea is to make possible to resume React loop and method implementing this should only set running to true (exactly opposite what stop method does). This shouldn't break anything, just adds new possibility :)

I also understand what @clue mentioned that we shouldn't mix async and sync code, but we're not living in perfect world ;)

Any thoughts appreciated.

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