Prodigious-Aim-Solutions / Kronicle6

A Framework for creating web applications with a focus on REST driven SPAs using ES6
http://prodigious-aim-solutions.github.io/Kronicle6
GNU General Public License v2.0
0 stars 0 forks source link

Promises in es6 #1

Open Corbzilla opened 9 years ago

Corbzilla commented 9 years ago

Currently the core of Kronicle6 is built around a PubSub event callback pattern. Due to Promises in the ES6 spec and the goal of this project to be built with es6 and es6 patterns in mind an investigation into converting to a more promise based core.

Corbzilla commented 9 years ago

After reviewing current documentation and best practices, specifically node and io.js core, as well as the Promises module being only draft at this point in the es6 spec, I do not believe that core should be converted for Promises at this time. This issue will be left open for future discussion and investigation.

Corbzilla commented 9 years ago

Also take a look at implementing es6 style with generators as per http://www.2ality.com/2015/03/no-promises.html