fulcro

Book: http://book.fulcrologic.com, Community Resources: https://fulcro-community.github.io/, RAD book at http://book.fulcrologic.com/RAD.html
zhuxun2 2021-04-08T15:59:59.429600Z

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

tony.kay 2021-04-08T16:21:23.430200Z

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.

tony.kay 2021-04-08T16:21:54.430600Z

(`tap>` is your better friend here, these days)

tony.kay 2021-04-08T16:27:19.430800Z

This section of the book mentions what all is going on in there: https://book.fulcrologic.com/#_the_transaction_processing_system

🙏 1
2021-04-08T17:28:55.431Z

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 🙂 )

🤘 1