Page MenuHomePhabricator

[native] Add some awaits in ChatInputBar.onSend
ClosedPublic

Authored by ashoat on Dec 4 2023, 1:14 PM.
Tags
None
Referenced Files
F2907556: D10169.diff
Sun, Oct 6, 11:18 AM
Unknown Object (File)
Fri, Sep 13, 8:41 PM
Unknown Object (File)
Sep 5 2024, 2:41 PM
Unknown Object (File)
Sep 5 2024, 8:47 AM
Unknown Object (File)
Sep 5 2024, 8:47 AM
Unknown Object (File)
Sep 5 2024, 8:47 AM
Unknown Object (File)
Sep 5 2024, 8:46 AM
Unknown Object (File)
Sep 5 2024, 8:45 AM
Subscribers
None

Details

Summary

I could add voids here instead, but I figured it doesn't particularly matter, since this function (onSend) is passed to TouchableOpacity's onPress prop, which doesn't care whether a Promise is returned, or how long the Promise takes.

Depends on D10168

Test Plan

Flow

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage