[Webkit-unassigned] [Bug 264028] New: NativePromise should be chain able so long that their resolve/reject type can be converted into

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 31 23:46:36 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=264028

            Bug ID: 264028
           Summary: NativePromise should be chain able so long that their
                    resolve/reject type can be converted into
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jean-yves.avenard at apple.com

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>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20231101/dd070f97/attachment.htm>


More information about the webkit-unassigned mailing list