Re: [sensors] Define tasks for state changes

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