Re: change proposal for Telephony API

On Tue, Apr 23, 2013 at 3:44 AM, Jonas Sicking <jonas@sicking.cc> wrote:
> Instead it's better to have a setEnabled(boolean enabled) function
> which returns a DOMRequest (soon to be changed to Future), and next to
> it a readonly attribute enabled flag. That way you can check the
> current status and it's clear that enabling/disabling will happen
> asynchronously.

OK, I will do it this way (and use the same pattern in other
applicable places, too).

Best regards,
Zoltan

Received on Tuesday, 23 April 2013 05:01:13 UTC