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

how to do aggregate.apply(event) in defineCommandHandler #123

Open
coco20131985 opened this issue May 3, 2018 · 1 comment
Open

how to do aggregate.apply(event) in defineCommandHandler #123

coco20131985 opened this issue May 3, 2018 · 1 comment

Comments

@coco20131985
Copy link

Hi,
I just would like to insert the event when using commandhandler instead of command.
when i use 'commandhandler':
i tried
commandHandler.commit(aggregate, stream, function(err){

    })

but stream is empty.

Thanks,

@adrai
Copy link
Contributor

adrai commented May 4, 2018

May I ask what your use case is?

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

No branches or pull requests

2 participants