[COMPASS-5059] Standardise compass coding style to use async/await Created: 02/Sep/21 Updated: 10/Jan/24 Resolved: 23/Mar/23 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Tech debt |
| Affects Version/s: | None |
| Fix Version/s: | No version |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Le Roux Bodenstein | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Documentation Changes: | Not Needed |
| Description |
|
Most of compass is still using node-style callbacks (with error as the first parameter). There are a few promises scattered here and there as well and already some async/await here and there.
Should we modernise it all to use async/await?
|