- From: croraf <notifications@github.com>
- Date: Fri, 18 Sep 2020 03:55:53 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 18 September 2020 10:56:10 UTC
In **upon fulfillment** https://heycam.github.io/webidl/#upon-fulfillment this part seems incorrect and confusing:  When the `promise` is fulfilled with the value `v` the `onFulfilled` gets called with `v`. This is not the same as performing steps with `v`. `onFulfilled` is produced using all the steps in 1. and 2. of https://heycam.github.io/webidl/#dfn-perform-steps-once-promise-is-settled I guess the intention of **upon fulfillment** was: > 1. **React** to _promise_ providing _steps_ as the steps to be run when the promise is fulfilled. So I think it should be changed into this. ------------------ NOTE 1: If this is correct, and when doing this required change, it becomes kind of reasonable to remove **upon fulfillment** completely and to always call **react** directly. NOTE 2: Same discussion applies to **upon rejection** -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/923
Received on Friday, 18 September 2020 10:56:10 UTC