News for hackers. Stuff that matters.
Re:Show HN: Cancelable async primitives for JavaScript by coldtea on Wednesday August 09, 2017 @04:41AM (#14966650)
Having send 1 API query initiated from a user action, and you want to:

1) allow the user to cancel it explicitly

2) cancel it if the user selects something else (instead of firing a second query, and then having a race condition on which returns first)

There are no comments on this comment yet.