Hacker News new | ask | show | jobs
by Mitranim 3241 days ago
Glad you understand the problem. This is what futures are good for. Write an XMLHttpRequest adapter that returns a future, have an easy time composing or aborting operations.