Re: [whatwg/xhr] Abandon hope of removing sync XHR from the web platform? (#20)

I guess this explains why I've never had a good experience with a SCORM platform, then.  The API designers did a bad job, and they should feel bad.

Now, you say it "cannot be changed", but one of the beautiful, terrible things about Javascript is that if you dig deep enough, everything is global (eventually), and you can monkey-patch it.  I'm not saying that's the right solution for *your* case, but I'd say there's an argument to be made.  If nothing else, your front-end could talk asynchronously to a Web Worker that calls the (awful) synchronous API in the background.  Anything is better than a wait-loop in the UI thread.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/xhr/issues/20#issuecomment-382662460

Received on Thursday, 19 April 2018 08:59:45 UTC