node.jscoffeescriptpromiseiced-coffeescript

Is iced coffeescript supporting or going to support promises?


As a node.js practitioner, I am actively using coffeescript and functions based on promises. Recently I have found out iced coffeescript, and I wonder whether my approach can go along with "iced await defer" one.

So here is my question, is there any support for the promises implemented or planned for the iced coffeescript? Or would rather iced coffeescript made me come back to the callback functions world?

Also as a side question, as far as my knowledge goes, there is an ECMAscript 7 draft to introduce await async patten to solve the issue. Is iced coffeescript team planning to blend on it if it will become standard?

Cheers.


Solution

  • Iced CoffeeScript development has stagnated lately. I regard ICS as interesting experiment - given its current adoption I would not really recommend using it. As for support or planned support there is none - there might be in the future but the issue tracker shows no issues discussing it have been opened.

    ECMAScript 7 indeed has async functions - since those use promises there is no reason to assume any work is done in ICS to support them. Again - no one can tell the future and there might be work on those at a future point in time.