Combining Generators with Promises and Channels

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →

Combining Generators with Promises and Channels

JavaScript Weekly Lightning Talks
Wednesday 23 Oct 2013 from 6:00pm - 9:00pm
http://www.sydjs.com/meetups/javascript-weekly-lightning-talks

“Don't combine Generators with Promises, combine them with Channels!” – David Nolen

Filippo Vitale

October 23, 2013

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

44 slides
  1. Combining Generators with Promises and Channels “Don't combine Generators with

    Promises, combine them with Channels!” David Nolen
  2. Promises Are awesome - Cleaner method signatures - Uniform return/error

    semantics - Easy composition - Easy sequential/parallel join - Always async - Exception-style error bubbling credit: http://www.slideshare.net/domenicdenicola/callbacks-promises-and-coroutines-oh-my-the-evolution-of-asynchronicity-in-javascript
  3. Promises and Generators Forbes Lindesay: Promises and Generators: control flow

    utopia -- JSConf EU 2013 http://www.youtube.com/watch?v=qbKWsbJ76-s http://pag.forbeslindesay.co.uk/#/
  4. Resources in random order - http://swannodette.github.io/2013/08/02/100000-processes/ - http://swannodette.github.io/2013/08/23/make-no-promises/ - http://swannodette.github.io/2013/08/24/es6-generators-and-csp/

    - http://concur.rspace.googlecode.com/hg/talk/concur.html#title-slide - http://stackoverflow.com/q/1050222/81444 - http://kangax.github.io/es5-compat-table/es6/ - http://wiki.ecmascript.org/doku.php?id=harmony:generators - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators - http://www.slideshare.net/domenicdenicola/es6-the-awesome-parts - http://www.youtube.com/watch?v=qbKWsbJ76-s - http://pag.forbeslindesay.co.uk/#/ - http://www.slideshare.net/domenicdenicola/callbacks-promises-and-cor

More Decks by Filippo Vitale

Other Decks in Programming