Search

Nalezeno "fetch": 144

fetch with Timeout


A few years back I wrote a blog post about how write a fetch Promise that times out. The function was effective but the code wasn’t great, mostly because AbortController , which allows you to cancel a fetch Promise, did not yet exist. With AbortController and AbortSignal available...

Fetch.ai Coin Price Is up 23% to $0.23 - Buy Now Before It Reaches $1?


  With the wave of sentiment surrounding artificial intelligence being higher, Fetch.AI’s FET token has seen a massive wave of support. The digital asset is currently trading at $0.2316, an uptrend of 19.21% in the past 24 hours.    However, as the token’s price witnesses an unprecedented rise...

How to Determine a JavaScript Promise’s Status


Promises have changed the landscape of JavaScript. Many old APIs have been reincarnated to use Promises (XHR to fetch, Battery API), while new APIs trend toward Promises. Developers can use async/await to handle promises, or then/catch/finally with callbacks, but what Promises don’t tell...

Reliably Send an HTTP Request as a User Leaves a Page


On several occasions, I’ve needed to send off an HTTP request with some data to log when a user does something like navigate to a different page or submit a form. Consider this contrived example of sending some information to … Reliably Send an HTTP Request as a User Leaves a Page originally...

Web Streams Everywhere (and Fetch for Node.js)


Chrome developer advocate Jake Archibald called 2016 “the year of web streams.” Clearly, his prediction was somewhat premature. The Streams Standard was announced back in 2014. It’s taken a while, but there’s now a consistent streaming API implemented … The post Web Streams...

How to Cancel Pending API Requests to Show Correct Data


I recently had to create a widget in React that fetches data from multiple API endpoints. As the user clicks around, new data is fetched and marshalled into the UI. But it caused some problems. One problem quickly became evident: … The post How to Cancel Pending API Requests to Show Correct...

Fetch.ai Collaborates with IOTA - A Deep Dive


Fetch.ai finally announced entering into a partnership with IOTA for connecting the Autonomous Economic Agents with the resourceful data network of IOTA. The collaboration between Fetch.ai and IOTA resolves data discoverability by establishing a smooth, real-time, and seamless connection between...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace