Switching to async/await from Task.jsm/yield
J. Ryan Stinnett
jryans at gmail.com
Thu Mar 16 22:39:06 UTC 2017
For modules that have already converted, is there any performance change
(good or bad) between async / await vs. Task?
On Thu, Mar 16, 2017 at 5:33 PM, Kris Maglione <kmaglione at mozilla.com>
> On Thu, Mar 16, 2017 at 03:29:15PM -0700, Dave Townsend wrote:
>> Writing code in standard JS is always better for the web, makes it easier
>> to onboard new engineers and allows for better support in developer tools.
>> So I'd like to propose that we switch to the standard way of writing these
>> functions immediately. New code should use async/await instead of Task.jsm
>> going forwards.
> I've already started doing this in places where using Task.jsm was
> unwieldy, and it's improved things tremendously.
> dev-platform mailing list
> dev-platform at lists.mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the firefox-dev