Re: [web-bluetooth] GATT operation in progress - how to handle it?

When the web page wants to know which writes have completed, it needs 
to attach a handler to the Promise returned by `writeValue()`. If the 
implementation doesn't queue, every use of writeValue needs to be 
handled like this, while if we do queue, sites that don't care about 
latency (e.g. sites that only write in response to a user gesture, and
 for which the device itself gives feedback that the operation is 
finished) can write simpler code.

-- 
GitHub Notification of comment by jyasskin
Please view or discuss this issue at 
https://github.com/WebBluetoothCG/web-bluetooth/issues/188#issuecomment-159977707
 using your GitHub account

Received on Thursday, 26 November 2015 19:03:19 UTC