Newer node versions support synchronous-like code syntax for async code patterns via the async / yield features. Using them has the benefit of making the JS code more readable as well as making it easier to port it to PHP.
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Declined | None | T206035 Use async/await instead of Promise.async/yield | |||
Resolved | None | T204619 Use Promise.async / yield instead of Promises wherever feasible without hurting performance |
Event Timeline
Comment Actions
Change 408882 had a related patch set uploaded (by Arlolra; owner: C. Scott Ananian):
[mediawiki/services/parsoid@master] Convert LinkHandler to async/await.