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
F3397324: D9269.id31411.diff
Sun, Dec 1, 5:15 PM
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
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable