Closed
Bug 1344733
Opened 4 years ago
Closed 3 years ago
[meta] Update Telemetry JS modules to async function & await
Categories
(Toolkit :: Telemetry, enhancement, P3)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox54 | --- | affected |
People
(Reporter: gfritzsche, Unassigned)
References
Details
(Keywords: meta, Whiteboard: [measurement:client] [measurement:client:project])
We have `async function` and `await` now: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function We should be able to switch all of the `Task.async`, `Task.spawn`, `function*` and `yield` uses over to those: https://dxr.mozilla.org/mozilla-central/search?q=path%3Atoolkit%2Fcomponents%2Ftelemetry%2F+ext%3Ajs+ext%3Ajsm+Task.&redirect=false The only case i can think of that doesn't migrate trivially is any `DeferredTask` usage, we could just leave that one for now.
Reporter | ||
Comment 1•3 years ago
|
||
The dependencies here are resolved, closing.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•