GithubHelp home page GithubHelp logo

promise-nuggets / promise-nuggets.github.io Goto Github PK

View Code? Open in Web Editor NEW
159.0 159.0 30.0 211 KB

Promise nuggets is a set of JavaScript promise tutorials and common patterns.

JavaScript 94.09% Pug 2.28% Less 3.63%

promise-nuggets.github.io's People

Contributors

adrianblynch avatar bruceharris avatar chaudhryjunaid avatar dependabot[bot] avatar laoujin avatar maxint137 avatar seidtgeist avatar spion avatar taueres avatar virakal avatar xavierchow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

promise-nuggets.github.io's Issues

map in series example

https://github.com/promise-nuggets/promise-nuggets.github.io/blob/src/src/documents/articles/15-map-in-series.html.md

var current = Promise.fulfilled();

Promise.fulfilled() seems to be undocumented. I think it might be the same as Promise.resolve()

Unrelated Suggestion:
In the notes, or as a comment, point out that getItem( id ) returns a promise (especially unresolved, unlike the first in the chain), otherwise it looks to newbs like me that there's no async magic happening anywhere in this example. (I think I have this figured out)

Need to make tutorial ES6-compatible

Update mapLimit not to rely on bluebird, but only mention the bluebird option like in "Wrapping callback functions".

Update "Doing things in parallel" to use the now general Promise.all

Update "Complex task dependencies" to use destructuring and only recommend spread/join as a bluebird alternative.

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.