Re: WebIDL generated TypeErrors and promises

On 28/06/2013 16:47 , Domenic Denicola wrote:
> I feel somewhat strongly that functions should present an only-sync
> or only-async interface. Thus I would say `boo` gets called with the
> `TypeError`.

A strong +1. The alternative just leads to code duplication in error 
handling.

-- 
Robin Berjon - http://berjon.com/ - @robinberjon

Received on Friday, 28 June 2013 16:01:53 UTC