[Webkit-unassigned] [Bug 265175] New: invokeAsync should let you call method returning Expected<T, U>
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 20 21:54:59 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=265175
Bug ID: 265175
Summary: invokeAsync should let you call method returning
Expected<T, U>
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
mentioned in https://github.com/WebKit/WebKit/pull/20665
Right now, you have to create a new NativePromise<T, U> to return an Expected<T, U>
We could instead have a utility method doing Ref<NativePromise<T, U>> createSettledPromise(Expected<T, U>&&);
or have invokeAsync handle method returning an Expected, and automatically wrap a native promise around the result.
--
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/20231121/9a943149/attachment.htm>
More information about the webkit-unassigned
mailing list