Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document (on the website) reducer semantics with an eye to transactionality and repeating reducers #25

Open
gefjon opened this issue Jan 1, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@gefjon
Copy link
Contributor

gefjon commented Jan 1, 2024

Such a document should cover:

  • The 1:1 correspondence between host-to-WASM calls and transactions.
  • The fact that a reducer which calls another reducer will not start a sub-TX.
  • The fact that a repeat attribute on a reducer (mostly) behaves like putting a schedule!(delay, self(ctx.timestamp)); call at the end of the reducer.
    • Different when called by another reducer? I think yes.
    • Different when the reducer fails? I think no.
@gefjon gefjon added the documentation Improvements or additions to documentation label Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant