Search

Nalezeno "promises": 336

JavaScript waitForTime


I write a lot of tests for new features within Firefox DevTools. We have hundreds of “mochitests” which open the browser and perform synthetic actions like clicking, typing, and other user actions. I’ve previously written about waitForever which essentially halts following actions...

ICOs Are Dead But ICO Scammers Are Immortal


The initial coin offering may have all but died, but the ICO scammer marches on regardless. Whereas legitimate projects have to wrangle with all kinds of challenges including the strength of the market, generating value for investors, creating a real product and actually delivering on the promises...

Collective #545


PWA Asset Generator * Leon Sans * Introduction to JavaScript Promises * The Enigma Machine Collective #545 was written by Pedro Botelho and published on Codrops

Promises and Static Values


Async can throw a real wrench into the cogs of our programming workflows, all despite the fact that async is the modern JavaScript pattern. While async/await helps, there’s sometimes confusion about the way to have a single function that returns a value whether it exists or needs a Promise...

then on Objects


Promises were a revelation in JavaScript development, allowing us to enjoy async processing and avoid callback hell. Many new APIs like Battery API, Cache API, and others use the promise API. One fact you may not know is that you can add a then method to any object to make it Promise-like!...

JavaScript Proxy with Storage


The JavaScript Proxy API provides a wealth of “magic” within JavaScript, allowing you to use any object as sort of an alias that allows a wall of validation, formatting, and error throwing. Did you know that you could also employ the Proxy API as an abstraction to different types...

PR: CoinLoan Welcomes Bitcoin Cash to Their List of Collateral Currencies


CoinLoan is among the first to offer loans secured by Bitcoin Cash As we mentioned in our previous updates, new assets are about to join CoinLoan’s list of cryptocurrencies soon. CoinLoan keeps its promises, and today, we pride ourselves on adding a new collateral currency to the CoinLoan platform...

Bitcoin Mining Helps Oil Companies Reduce Carbon Footprint


Natural gas acquired as a byproduct of oil extraction has become synonymous with wasted energy. In certain areas, drilling companies are unable to find a profitable market for the excess fuel. It’s often vented into the atmosphere. Startups are now offering on-site systems that utilize...

A Peek at New Methods Coming to Promises


Promises are one of the most celebrated features introduced to JavaScript. Having a native asynchronous artifact baked right into the language has opened up a new era, changing not only how we write code but also setting up the base for other freat APIs — like fetch! Let's step back a moment...

Finally… A Post on Finally in Promises


“When does finally fire in a JavaScript promise?” This is a question I was asked in a recent workshop and I thought I’d write up a little post to clear up any confusion. The answer is, to quote Snape: ...always. The basic structure is like this: try { // I’ll try to execute some code...

V20 Summit Concludes With Promises for Crypto Industry


As the G20 leaders’ summit came to a close, the nearby V20 summit concluded with a set of promises for the crypto industry in response to the global crypto standards set by the Financial Action Task Force. A group of national crypto associations aims to engage with government agencies...

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