Closed
Description
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/allSettled
type PromiseSettlementResult<V, R> = (
| PromiseFulfilledResult<V>
| PromiseRejectedResult<R>
);
type PromiseFulfilledResult<V> = {
status: 'fulfilled',
value: V,
};
type PromiseRejectedResult<R> = {
status: 'rejected',
reason: R,
}
The return type of that API is a tagged object. In order to add bindings without runtime, the previous issue need to be resolved first.
Metadata
Metadata
Assignees
Labels
No labels