I'm having an issue getting predictable behavior out of async/await when running SQL: https://github.com/jadencarver/sean_app - I tested that it functions as expected when the Promise is a simple setTimeout, but the await fails to resume when the Promise is bound to a SQL query. I don't believe I did anything wrong implementing the Promise.
What could cause this inconsistent behavior? I understand that await/async is experimental, but I feel obligated to report this issue as has been a barrier for me.
I'm having an issue getting predictable behavior out of async/await when running SQL: https://github.com/jadencarver/sean_app - I tested that it functions as expected when the Promise is a simple setTimeout, but the await fails to resume when the Promise is bound to a SQL query. I don't believe I did anything wrong implementing the Promise.
What could cause this inconsistent behavior? I understand that await/async is experimental, but I feel obligated to report this issue as has been a barrier for me.