Created
April 12, 2021 17:52
-
-
Save jacobaraujo7/3fc2b3f50ff8c64f9f5b4ed936155f56 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Counter extends StreamStore<Exception, int> { | |
Counter(): super(0) | |
increment(){ | |
update(state + 1); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment