Skip to content

Commit 909d8ad

Browse files
foolipElchi3
andauthored
Add a promises group (#1108)
* Add a promises group * Update dist --------- Co-authored-by: Florian Scholz <[email protected]>
1 parent 828fc06 commit 909d8ad

9 files changed

+10
-0
lines changed

features/promise-allsettled.dist.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ name: Promise.allSettled()
55
description: The `Promise.allSettled()` static method waits for an array of promises to settle (resolve or reject).
66
snapshot: ecmascript-2020
77
spec: https://tc39.es/ecma262/multipage/control-abstraction-objects.html#sec-promise.allsettled
8+
group: promises
89
status:
910
baseline: high
1011
baseline_low_date: 2020-07-28

features/promise-allsettled.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ name: Promise.allSettled()
22
description: The `Promise.allSettled()` static method waits for an array of promises to settle (resolve or reject).
33
snapshot: ecmascript-2020
44
spec: https://tc39.es/ecma262/multipage/control-abstraction-objects.html#sec-promise.allsettled
5+
group: promises

features/promise-any.dist.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ name: Promise.any()
55
description: The `Promise.any()` static method returns a promise that fulfills as soon as the first of an iterable of promises fulfills, with that promise's value. Otherwise, it rejects with an `AggregateError` when all of the promises have rejected.
66
snapshot: ecmascript-2021
77
spec: https://tc39.es/ecma262/multipage/control-abstraction-objects.html#sec-promise.any
8+
group: promises
89
status:
910
baseline: high
1011
baseline_low_date: 2020-09-16

features/promise-any.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ name: Promise.any()
22
description: The `Promise.any()` static method returns a promise that fulfills as soon as the first of an iterable of promises fulfills, with that promise's value. Otherwise, it rejects with an `AggregateError` when all of the promises have rejected.
33
snapshot: ecmascript-2021
44
spec: https://tc39.es/ecma262/multipage/control-abstraction-objects.html#sec-promise.any
5+
group: promises

features/promise-finally.dist.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ description: The promise `finally()` method executes a function when the promise
66
caniuse: promise-finally
77
snapshot: ecmascript-2018
88
spec: https://tc39.es/ecma262/multipage/control-abstraction-objects.html#sec-promise.prototype.finally
9+
group: promises
910
status:
1011
baseline: high
1112
baseline_low_date: 2018-10-02

features/promise-finally.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ description: The promise `finally()` method executes a function when the promise
33
caniuse: promise-finally
44
snapshot: ecmascript-2018
55
spec: https://tc39.es/ecma262/multipage/control-abstraction-objects.html#sec-promise.prototype.finally
6+
group: promises

features/promise-withresolvers.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Promise.withResolvers()
22
description: The `Promise.withResolvers()` static method is an alternative to the `Promise()` constructor that returns both the promise and resolution functions. You can use this to access `resolve` and `reject` outside the scope of the executor function.
33
spec: https://tc39.es/proposal-promise-with-resolvers/#sec-promise.withResolvers
4+
group: promises
45
status:
56
baseline: low
67
baseline_low_date: 2024-03-05

features/promise.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ spec:
1313
- https://tc39.es/ecma262/multipage/control-abstraction-objects.html#sec-promise.reject
1414
- https://tc39.es/ecma262/multipage/control-abstraction-objects.html#sec-promise.resolve
1515
- https://tc39.es/ecma262/multipage/control-abstraction-objects.html#sec-promise.prototype.then
16+
group: promises
1617
status:
1718
baseline: high
1819
baseline_low_date: 2015-07-29

groups/promises.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
name: Promises
2+
parent: javascript

0 commit comments

Comments
 (0)