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
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.
The text was updated successfully, but these errors were encountered:
Hi,
You can read my original post here. I described issue with using
block-react
lib since there is no way toresume
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 toresume
React loop and method implementing this should only setrunning
totrue
(exactly opposite whatstop
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.
The text was updated successfully, but these errors were encountered: