andpor / react-native-sqlite-storage

Full featured SQLite3 Native Plugin for React Native (Android and iOS)
MIT License
2.76k stars 520 forks source link

Why function declarations are asynchronous. However, the callback function of the function is synchronous? #441

Open fjqingyou opened 4 years ago

fjqingyou commented 4 years ago

If the callback needs to call the function of asynchronous function.. Can't wait for asynchronous processing results in synchronous functions?

fjqingyou commented 4 years ago

Does it seem more appropriate to keep all asynchronous structures?