Page MenuHomePhabricator

[native] helper functions for resolving JS promises with void
ClosedPublic

Authored by varun on Sep 22 2023, 1:03 PM.
Tags
None
Referenced Files
F3395059: D9269.diff
Sun, Dec 1, 1:23 AM
Unknown Object (File)
Sat, Nov 30, 3:57 AM
Unknown Object (File)
Fri, Nov 29, 2:51 PM
Unknown Object (File)
Fri, Nov 29, 12:42 PM
Unknown Object (File)
Thu, Nov 28, 3:44 PM
Unknown Object (File)
Sat, Nov 23, 2:59 AM
Unknown Object (File)
Fri, Nov 15, 7:25 AM
Unknown Object (File)
Fri, Nov 8, 9:39 PM
Subscribers

Details

Summary

we currently only support resolving Promise<string>. This lets us handle Promise<void> too.

Test Plan

called the new helper function as part of the update_password workflow and it worked as expected

Diff Detail

Repository
rCOMM Comm
Branch
native-client
Lint
No Lint Coverage
Unit
No Test Coverage