We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
things like this dont work because transactions close on first promise resolve: andpor/react-native-sqlite-storage#117
some solution? Thanks for your support!
main = function (data) { return new Promise(function (resolve, reject) { db.transaction(function (t) { var fetchDataOne = function (t) { return new Promise(function (resolve, reject) { t.executeSql('...'); resolve(); }); }; var fetchDataTwo = function (t) { return new Promise(function (resolve, reject) { t.executeSql('...'); resolve(); }); }; Promise.all([].concat(fetchDataOne, fetchDataTwo)).then(resolve).catch(reject); }, reject, resolve); }); };
The text was updated successfully, but these errors were encountered:
I also noticed this... a fix would be great
Sorry, something went wrong.
Is this issue still open?
Is this still open? This is a major issue for anyone trying to wait for an entire transaction to complete asynchronously
No branches or pull requests
things like this dont work because transactions close on first promise resolve:
andpor/react-native-sqlite-storage#117
some solution? Thanks for your support!
The text was updated successfully, but these errors were encountered: