Closed Bug 1688223 Opened 5 years ago Closed 5 years ago

Audit which one of our external APIs should return promises

Categories

(Data Platform and Tools Graveyard :: Glean.js, task, P4)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: brizental, Unassigned)

Details

(Whiteboard: [telemetry:glean-js:m?])

As discussed here we consider it a bad practice for users to wait on API calls. If that is the case we should check which one of our APIs actually should return a Promise. If they don't return a promise then the caller can't wait for it.

This was fixed by Bug 1687491.

tl;dr; None of our external APIs returns promises anymore.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Product: Data Platform and Tools → Data Platform and Tools Graveyard
You need to log in before you can comment on or make changes to this bug.