Re: Promises in 1.0

2015-04-07 14:30 GMT+02:00 piranna@gmail.com <piranna@gmail.com>:
> I've develop a function that set a Node.js callback on a Promise,
> maybe they would implement internally something similar (Promises
> first, callbacks as alternative)

That's exactly what I'm not looking for :)

My real concern is: How to detect, from the JS, whether the browser
implements callbacks or promises based WebRTC API? Just let's imagine
that, at some time, browsers remove the callbacks API. I do not want a
JS layer that transforms promises to callbacks or vice-versa ;)




-- 
Iñaki Baz Castillo
<ibc@aliax.net>

Received on Tuesday, 7 April 2015 12:47:38 UTC