Bug 265102
Summary: | [NativePromise] Remove need to provide SerialFunctionDispatch to all and allSettled | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
Component: | Web Template Framework | Assignee: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=265096 |
Jean-Yves Avenard [:jya]
In bug 265096, we added a private `whenSettled` override that do not take a SerialFunctionDispatcher, when used the resolver callback is immediately executed.
This feature can be extended to NativePromise::all and NativePromise::allSettled so that you no longer need to pass a SerialFunctionDispatcher , simplifying the use and making the syntax closer to JS promise
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/118612313>
Jean-Yves Avenard [:jya]
Pull request: https://github.com/WebKit/WebKit/pull/20716
EWS
Committed 271032@main (9cfcc4e4e46b): <https://commits.webkit.org/271032@main>
Reviewed commits have been landed. Closing PR #20716 and removing active labels.