You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current code works, but it is very imperative and can potentially block transactions, because each query is executed synchronously, I recommend we wrap the query in a promise to give control back to the program while executing.
The text was updated successfully, but these errors were encountered:
BREAKING CHANGE - caught exceptions are resolved, not rejected, as hyper
errors
The only time a method on the adapter should return a rejected promise
is in the case of an unhandled exception.
Aligns with discussion detailed in:
https://github.com/hyper63/journal/blob/master/design-docs/003-errors.md
Also Asyncified the code #3
The current code works, but it is very imperative and can potentially block transactions, because each query is executed synchronously, I recommend we wrap the query in a promise to give control back to the program while executing.
The text was updated successfully, but these errors were encountered: