W3C home > Mailing lists > Public > public-device-apis-log@w3.org > May 2017

Re: [sensors] Define tasks for state changes

From: Alexander Shalamov via GitHub <sysbot+gh@w3.org>
Date: Wed, 31 May 2017 07:52:11 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-305113630-1496217130-sysbot+gh@w3.org>
Anne was right, we should update states + fire event from tasks when we get some async events, e.g., from platform.

Due to single threaded nature of JS for things like start / stop, we are executing code in same call-chain, so, this issue might not be applicable.

For things that run 'in parallel', we need to queue new tasks.

GitHub Notification of comment by alexshalamov
Please view or discuss this issue at https://github.com/w3c/sensors/issues/218#issuecomment-305113630 using your GitHub account
Received on Wednesday, 31 May 2017 07:52:18 UTC

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:54 UTC