nhoizey’s avatarnhoizey’s Twitter Archive—№ 100,838

  1. …in reply to @naholyr
    @naholyr @jaffathecake I’m not sure (I’m really bad with async stuff 😅), what’s your use case? If you want to fetch a resource or timeout before it fails, Promise.race still looks like the best option. Or abortable fetch: developers.google.com/web/updates/2017/09/abortable-fetch