algorandfoundation / algokit-subscriber-ts

Simple, but flexible / configurable Algorand transaction subscription / indexing mechanism
MIT License
12 stars 6 forks source link

Per-block transactionality #29

Closed robdmoore closed 6 months ago

robdmoore commented 6 months ago

Support the ability to subscribe to a block and/or batch in one go rather than per event in AlgorandSubscriber so that block-based transactions can be achieved. This allows for a more conduit like approach of block following.

Allow for control over what happens at the end of a block for logging and/or transaction commit too as an alternate / additional functionality.

It may also make sense to allow catch/finally triggers?