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

Problem: Command#onCompletion method name is confusing #84

Merged
merged 1 commit into from Jun 30, 2016

Conversation

yrashk
Copy link
Contributor

@yrashk yrashk commented Jun 30, 2016

It sounds like a callback, while in fact it is a function that takes
a state from an EventStream and produces a "result"

Solution: rename it to #result()

Also, change the order of type parameters for Command from Result, State
to State, Result to follow the order of their dependency.

It sounds like a callback, while in fact it is a function that takes
a state from an EventStream and produces a "result"

Solution: rename it to `#result()`

Also, change the order of type parameters for Command from Result, State
to State, Result to follow the order of their dependency.
@yrashk yrashk merged commit a916e57 into eventsourcing:master Jun 30, 2016
@yrashk
Copy link
Contributor Author

yrashk commented Jun 30, 2016

Merged myself because I am attending an event tonight (http://www.meetup.com/bkkhack/events/23086315), want to show what's going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant