@rem what's the function for? It's called testConnection, but getting a 404 is still a positive result, no? It means you have a connection
-
-
Replying to @jaffathecake
@rem if the aim of the function is to test whether a successful connection can be made to a particular url: https://jsbin.com/wafefe/edit?js,console,output …1 reply 0 retweets 0 likes -
Replying to @jaffathecake
@jaffathecake prototyping how promise would look if 200 were success, otherwise throwing (ie. 40x, etc), and using error to get status code2 replies 0 retweets 0 likes -
Replying to @rem
@rem@jaffathecake sounds like looking at the observable pattern rxjs allows you to use may be worthwhile@jhusain has some great talks omit1 reply 0 retweets 0 likes -
Replying to @mike_tempest
@mike_tempest no sure why I need a 3rd party library in there. Or even more tech. It does the job.@jaffathecake1 reply 0 retweets 0 likes -
Replying to @rem
@rem@mike_tempest@jaffathecake well, Observables are coming in ES7 so you won't have to worry...
Just think of it as getting ahead!2 replies 0 retweets 1 like -
Replying to @mattpodwysocki
@mattpodwysocki: also, this is optimism, not fact (yet). Committee not in agreement here. /cc@rem@mike_tempest@jaffathecake2 replies 0 retweets 0 likes -
Replying to @slightlylate
@slightlylate@rem@mike_tempest@jaffathecake but yet they were perfectly willing to accept Promises when IO was a use case with no cancel2 replies 0 retweets 0 likes -
Replying to @mattpodwysocki
@mattpodwysocki : cancel() was a goal i had to give up on to move things forward. It's ambiguous. /cc@rem@mike_tempest@jaffathecake1 reply 0 retweets 0 likes -
Replying to @slightlylate
@slightlylate that was unfortunate since a number of use cases were going to wrap things like XHR that need cancel. Without cancel not great2 replies 0 retweets 0 likes
@mattpodwysocki : I fought hard for `cancel()`, but also many other things we had to give up to get something done. Expect similar.
-
-
Replying to @slightlylate
@slightlylate I know you did and it was appreciated! Me personally, I'd like to see a convergence of async ala@dart_lang but that's just me0 replies 0 retweets 0 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.