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

Change wait to use a promise instead of being called every frame #593

Merged
merged 2 commits into from
Jun 8, 2017

Conversation

fsih
Copy link
Contributor

@fsih fsih commented Jun 5, 2017

Resolves

#591

Proposed Changes

Change wait block to work like wait beats block, use a promise which makes it not be called every frame

Reason for Changes

Calling the wait function every frame with different random numbers generally causes it to finish after the smallest random number

@fsih fsih self-assigned this Jun 5, 2017
@fsih fsih requested a review from rschamp June 5, 2017 20:57
Copy link
Contributor

@tmickel tmickel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems reasonable to me! :p

@tmickel tmickel removed their assignment Jun 8, 2017
@fsih fsih added this to the June 21 milestone Jun 8, 2017
@fsih
Copy link
Contributor Author

fsih commented Jun 8, 2017

Thanks for helping us look at this bug @tmickel!

@fsih fsih merged commit fb986ef into scratchfoundation:develop Jun 8, 2017
@fsih fsih deleted the fixWaitCalledEveryFrame branch June 8, 2017 19:35
stefania11 pushed a commit to mitmedialab/cognimates-vm that referenced this pull request Mar 31, 2018
…oder-1.2.0

Update wav-encoder to the latest version 🚀
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants