Skip to content
This repository has been archived by the owner on Jul 31, 2020. It is now read-only.

feat: Add a utility method synchronizeState which syncs scenes and groups. #57

Merged
merged 9 commits into from
Jun 7, 2017

Conversation

ProbablePrime
Copy link
Contributor

@ProbablePrime ProbablePrime commented Jun 2, 2017

resolves #54

…groups.

A lot of our examples did the same thing as a promise chain, it made sense to create a utility method.
@kateract
Copy link
Contributor

kateract commented Jun 2, 2017

The Promise.all returns a [IGroup[], IScene[]], would it be better to return that instead of void or just too confusing? My in progress commit

@ProbablePrime
Copy link
Contributor Author

Actually yeah that would be better. When working on an issue please let me know we can assign it to you :)

I'll close this and assign the issue to you if thats ok :D?

@ProbablePrime
Copy link
Contributor Author

@kateract

kateract and others added 2 commits June 3, 2017 19:55
* add syncScenes

* attempt to add tests

* merge changes

* added trailing comma for linting
@ProbablePrime
Copy link
Contributor Author

Ok got the tests working. but some other tests are promise rejections

@ProbablePrime ProbablePrime merged commit 773a1e0 into master Jun 7, 2017
@ProbablePrime ProbablePrime deleted the feature/sync-state branch June 7, 2017 18:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Add a catchall sync method
2 participants