Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

Translators should support setting multiple resources in a single call #204

Open
danielrischar opened this issue Mar 9, 2017 · 0 comments

Comments

@danielrischar
Copy link
Contributor

This is an issue for setting colourChroma, where the hue and saturation are included in the colourChroma resource, but the brightness is included in the dimming resource. Setting the resources one at a time will result in the wrong color being displayed between the application of both changes. For some providers, the round trip on changes is significant, and this will lead to a bad experience.

postDeviceResource should take multiple ids and payloads and convert them into a single atomic transaction with the provider, also cutting down on the number of calls that need to be made if an app wants to make significant changes or batch up multiple state changes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant