WiP: first test to try to resolve #507#508
Conversation
If `red-do :transaction`'s block returns a Awaitable, it creates a new Promise that will handle the commit/rollback and does not let the sync code to call commit/rollback. Probable next steps are: - extract that logic to a transaction manager - on transaction manager add a transaction stack and methods - queue-begin - unqueue-commit - break-queue-rollback (or something like that)
Code Review — PR #508 (WiP: first test to try to resolve #507)PR #508 addresses issue #507: async/awaitable transaction handling in 🔴 CriticalNone — this is a WiP from 2021 with no obvious security or correctness regressions in the diff.
|
If
red-do :transaction's block returns a Awaitable, it createsa new Promise that will handle the commit/rollback and does not
let the sync code to call commit/rollback.
Probable next steps are:
(or something like that)