3 ms·
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 el
by coldtea 9y ago
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)