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
Unknown Object (File)
Wed, Jan 1, 9:04 PM
Unknown Object (File)
Wed, Jan 1, 9:04 PM
Unknown Object (File)
Wed, Jan 1, 9:04 PM
Unknown Object (File)
Wed, Jan 1, 9:04 PM
Unknown Object (File)
Wed, Jan 1, 9:02 PM
Unknown Object (File)
Wed, Jan 1, 8:39 PM
Unknown Object (File)
Thu, Dec 26, 11:39 AM
Unknown Object (File)
Thu, Dec 26, 11:39 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