- From: Vincent Scheib via GitHub <sysbot+gh@w3.org>
- Date: Fri, 23 Sep 2016 20:25:17 +0000
- To: public-web-bluetooth-log@w3.org
Retries: I would presume that a queue should re-try an operation upon receiving a "GATT operation in progress" error. e.g.: 1. Presume a queue with operations A, B. 1. Operation A is submitted. 1. Operation A fails due to GATT operation in progress. 1. Operation A is re-submitted. 1. Operation A succeeds. 1. Operation B is submitted. It is possible multiple retries may be needed. And, that a delay before retry is warranted (likely with exponential backoff). An alternative would be that if operation A fails due to an in progress error, then B would also fail. But then we don't need a library - we just use a chain of promises. -- GitHub Notification of comment by scheib Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/188#issuecomment-249293700 using your GitHub account
Received on Friday, 23 September 2016 20:25:24 UTC