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

Add support for context #2

Open
mishudark opened this issue Feb 12, 2017 · 2 comments
Open

Add support for context #2

mishudark opened this issue Feb 12, 2017 · 2 comments

Comments

@mishudark
Copy link
Owner

The use of context is a must to have with Go v1.7.4+ and it should help to cancel long running process according the developer needs

@fabiante
Copy link
Contributor

Where would you like to usage the context api?

Currently the places I can think of:

  • EventStore.Load implementations - Because replaying lots of events is a potentially long running process.
  • EventStore.Save and SafeSave implementations - Because event saving is also an iterative process that may take longer

There surely are some more.

I could add context support for the above methods as a starter if you'd like.

@mishudark
Copy link
Owner Author

Hello, yes those areas are interesting to add context support

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

No branches or pull requests

2 participants