Giter Club home page Giter Club logo

Comments (9)

avoidwork avatar avoidwork commented on May 18, 2024

Hi,

I'm that someone, and I just wanted to add a little context. The rule is implicit; it really only comes across if you think of the problem a certain way, otherwise it becomes a question. If you defined the rule explicitly, there'd be no question during implementation, e.g. Errors thrown from a handler will not block execution of subsequent handlers

Of course, the issue could be I just looked at the problem another way and missed the implication. Regardless, if it's open to interpretation there's room for error. Adding another point at the right place would help greatly.

from promises-spec.

briancavalier avatar briancavalier commented on May 18, 2024

@avoidwork Thanks for the additional context! Were you coming at this as a user of promises, or as an implementer of promises (or both)?

from promises-spec.

avoidwork avatar avoidwork commented on May 18, 2024

A little of both. I'm writing the tool set (implementer) which I build on of (user). No one I work with has experience with the pattern beyond jQuery's version, and ... yeah.

from promises-spec.

lsmith avatar lsmith commented on May 18, 2024

@avoidwork Would the insertion of the word "all" into 3.2.5.1 and .2 clarify enough?

If/when promise is fulfilled, all respective onFulfilled callbacks must execute in the order of their originating calls to then.

from promises-spec.

avoidwork avatar avoidwork commented on May 18, 2024

yup

from promises-spec.

domenic avatar domenic commented on May 18, 2024

Let's do that then, it's very easy and doesn't seem like it's overburdening the spec with non-normative language.

from promises-spec.

briancavalier avatar briancavalier commented on May 18, 2024

Sounds good to me as well. Since it doesn't seem to make the spec any less clear, and in fact, makes it more clear for at least one person, it seems like a good thing :)

from promises-spec.

briancavalier avatar briancavalier commented on May 18, 2024

I can do this when I get back to a keyboard in a bit if no one gets to it first.

from promises-spec.

briancavalier avatar briancavalier commented on May 18, 2024

Oops sorry for the double commit messages above. One is from my fork, but I decided just to make this change directly, as it seemed silly to pull request it since it was such a small change.

from promises-spec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.