EOSIO / demux-js

💫 Deterministic event-sourced state and side effect handling for blockchain applications
MIT License
307 stars 71 forks source link

Created an IActionReader Interface #168

Closed olivierbeaulieu closed 5 years ago

olivierbeaulieu commented 5 years ago

Fixes #165.

The problem this aims to solve is that AbstractActionReader is not super flexible, since you are obligated to keep its private parts. It makes extending it quite tricky, if you don't need the private parts for your ActionReader to work.

To make it more flexible, an IActionReader interface was created, and that is now what other classes look require.

flux627 commented 5 years ago

Closed by #169