- From: Mounir Lamouri <notifications@github.com>
- Date: Mon, 15 Dec 2014 05:58:28 -0800
- To: w3c/push-api <push-api@noreply.github.com>
Received on Monday, 15 December 2014 13:58:58 UTC
CC @jakearchibald It seems to be the pattern generally being used with Promises. Rejecting should be an exceptional case. In that case, having no registration isn't exceptional, it's definitely expected. Also, as @jakearchibald pointed, it would allow to do things like that in ES7: ```javascript var reg = await push.getRegistration(); ``` --- Reply to this email directly or view it on GitHub: https://github.com/w3c/push-api/issues/96
Received on Monday, 15 December 2014 13:58:58 UTC