From 5c3f3d50aa610eaa4547671989fbee7da8f4e697 Mon Sep 17 00:00:00 2001 From: Kenneth Rohde Christiansen Date: Thu, 7 Feb 2019 02:40:34 +0000 Subject: [PATCH] Fix #119 --- index.bs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.bs b/index.bs index 809aaab6..cd47a38d 100644 --- a/index.bs +++ b/index.bs @@ -591,6 +591,12 @@ Follow the Writing Promise-Using Specifications guideline. +

Events should fire before promises resolve

+ +In the case that an event is being dispatched as part of a promise being +resolved, then the event should be dispatched before the promise resolves, rather +than after. +

Don't invent your own event listener-like infrastructure

For recurring events, it could be convenient to create a custom pair of APIs to