RESOLVED FIXED 264028
NativePromise should be chain able so long that their resolve/reject type can be converted into
https://bugs.webkit.org/show_bug.cgi?id=264028
Summary NativePromise should be chain able so long that their resolve/reject type can...
Jean-Yves Avenard [:jya]
Reported 2023-10-31 23:46:36 PDT
Right Now, you can only chain identical NativePromises. `NativePromise::chainTo()` requires a NativePromise::Producer of the exact same type. It would be nice if we could chain promises so long that their resolve/reject type are convertible into the other. e.g. chain a NativePromise<void, int> to a NativePromise<void, long>
Attachments
Radar WebKit Bug Importer
Comment 1 2023-10-31 23:46:53 PDT
Jean-Yves Avenard [:jya]
Comment 2 2023-11-19 03:47:46 PST
Jean-Yves Avenard [:jya]
Comment 3 2023-11-19 21:29:01 PST
*** Bug 265096 has been marked as a duplicate of this bug. ***
EWS
Comment 4 2023-11-20 16:26:24 PST
Committed 270990@main (f69deb1f63af): <https://commits.webkit.org/270990@main> Reviewed commits have been landed. Closing PR #20721 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.