Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
4 results across 6 corpora for settlementations.
Dictionary 1
settlementations
plural of settlementation
Developer library 3
Promise.race()
The **`Promise.race()`** static method takes an iterable of promises as input and returns a single Promise. This returned promise settles with the eventual state of the first promise that settles. taller ```js interactive-example const promise1 = new Promise((resolve, reject) => { setTimeout(resolve, 500, "one"); }); const promise2 = new Promise((resolve, reject) => { setTimeout(resolve, 100, "two"); }); Prom
Promise.prototype.then()
The **`then()`** method of Promise instances takes up to two arguments: callback functions for the fulfilled and rejected cases of the `Promise`. It stores the callbacks within the promise it is called on and immediately returns another Promise object, allowing you to [chain](/docs/Web/JavaScript/Guide/Using_promises#chaining) calls to other promise methods. JavaScript Demo: Promise.prototype.then() ```js interacti
Using promises
Web/JavaScript/Guide/Typed_arrays A Promise is an object representing the eventual completion or failure of an asynchronous operation. Since most people are consumers of already-created promises, this guide will explain consumption of returned promises before explaining how to create them. Essentially, a promise is a returned object to which you attach callbacks, instead of passing callbacks into a function. Imagin