Search

Nalezeno "Promises": 422

Maduro Promises ‘Revival’ for Venezuela’s Foundering Petro Token


Nicolás Maduro, the disputed President of Venezuela, has predicted big things to come for crypto in the nation in 2021 – claiming that the state-issued petro (PTR) token will undergo a renaissance in the year ahead and stating that a “complete digitalization process” will transform the economy...

Ledger Promises Funds Insurance As Client Data Leak Expands


France-based major crypto hardware wallet manufacturer Ledger confirmed that Shopify hackers obtained Ledger customer personal information in April and June 2020. "Along with forensic firm Orange Cyberdefense we were able to establish that it affects approximately 292,000 customers. While...

navigator.clipboard API


Interacting with a user’s host clipboard is something web developers have wanted for both good and evil purposes. On the good side, it’s nice to allow users to easily copy text like wallet addresses or branch names; for evil, copying malicious text that the user may mistakenly paste...

Return a Default Value with Promises Using catch


Last week I tweeted all of you looking for your best JavaScript Array and Promise tricks, and as always, it didn’t disappoint — I learned quite a bit! Today’s JavaScript Promise trick is brought to you by Claudio Semeraro: how to use catch to set a default value instead of...

Limit Promise Concurrency with pool


Methods like Promise.all, Promise.allSettled, Promise.race, and the rest are really excellent for managing multiple Promises, allowing for our apps to embrace async and performance. There are times, however, that limiting the number of concurrent operations may be useful, like rate limiting...

cookieStore: Async Cookie API


One pattern in the JavaScript API world that web development veterans will notice is that we’ve been creating new methods to accomplish what older, grosser APIs once achieved. XMLHttpRequest became the fetch API, some APIs like Battery became async, and there are dozens of other examples....

How to Create an Async Function


One thing I love about JavaScript is that there are many ways to accomplish the same task, one such example being creating functions. There are several patterns for functions; one of the last you see used is the new Function method: /* new Function(arg1, arg2 (...), body) */ const myFunction =...

5 Awesome JavaScript Promise Tricks


The Promise API changed the game in JavaScript. We went from abusing setTimeouts and settling for synchronous operations to doing everything possible to leverage this new async API. Let’s check out a handful of awesome Promise API tricks! Cancel a fetch Request One problem we instantly...

Robert Rorschach: 20 Reasons Not to Vote


If one votes, one participates. If one participates, one condones and endorses the process, and subsequently, what those elected ‘representatives’ do and say in your name. Reason 2. Electoral promises are meaningless because politicians are able to lie to gain the favor of...

Bitfinex Steps up Hunt For Its Hackers, Promises USD 400m In Rewards


Major crypto exchange Bitfinex has offered a multi-million dollar reward to anyone who can lead it to the hackers responsible for the the theft of nearly bitcoin (BTC) 120,000 in August 2016 - even to the hackers themselves. Today's value of the bitcoin stolen from Bitfinex four years ago is around...

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