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
F3383454: D9269.id.diff
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
Unknown Object (File)
Fri, Nov 8, 9:39 PM
Unknown Object (File)
Fri, Nov 8, 9:39 PM
Unknown Object (File)
Fri, Nov 8, 9:39 PM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable