Use promises on NativeMethodsMixin instead of callbacks #20579
Labels
Ran Commands
One of our bots successfully processed a command.
Resolution: Locked
This issue was locked by the bot.
Today we use NativeMethodsMixin likes this:
We could do something like:
Something along these lines, so we can use
async
andawait
and have a more fluid code.Can't we make it like this on react-native core?
The text was updated successfully, but these errors were encountered: