Is there any documentation about ::txn/submission-queue
, ::txn/active-queue
, and ::txn/send-queues
? The source code in the txn namespace is a bit hard to follow
There’s a general diagram here: https://github.com/fulcrologic/fulcro/blob/develop/src/main/com/fulcrologic/fulcro/algorithms/tx-processing-readme.adoc
If you check out the source and use deps to make that what you’re using for your code, then you can decorate the tx processing code with calls to https://github.com/fulcrologic/fulcro/blob/develop/src/main/com/fulcrologic/fulcro/algorithms/tx_processing_debug.cljc tx-status, which will dump whats in the various queues.
(`tap>` is your better friend here, these days)
This section of the book mentions what all is going on in there: https://book.fulcrologic.com/#_the_transaction_processing_system
A while ago I was playing around with having the tx layer combine transactions into one network call. I left some cursory notes from my code dive here: https://github.com/dvingo/fulcro/blob/f0df8f8cf144e5c544af5a038cf6f5fca8b406b2/src/main/com/fulcrologic/fulcro/algorithms/tx-processing-readme.adoc#dans-notes or view the text bc I wasn't careful with formatting (the section "Dan's notes") : https://raw.githubusercontent.com/dvingo/fulcro/f0df8f8cf144e5c544af5a038cf6f5fca8b406b2/src/main/com/fulcrologic/fulcro/algorithms/tx-processing-readme.adoc (warning, very rough - typos etc, was meant for me to organize my thoughts 🙂 )