Skip to content

Are reaction callbacks automatically run in (trans)actions? #3376

Answered by urugator
Dorosty asked this question in Q&A
Discussion options

You must be logged in to vote

Are reaction callbacks automatically run in (trans)actions?

yes

What I mean is, is this necessary?

no

Or does this suffice?

yes

However you should avoid mutating state in reactions, therefore it shouldn't matter most of the time.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Dorosty
Comment options

@urugator
Comment options

@Dorosty
Comment options

@urugator
Comment options

@urugator
Comment options

Answer selected by kubk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants