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

Added cancellationtoken #1366

Merged
merged 4 commits into from
Jul 29, 2016
Merged

Added cancellationtoken #1366

merged 4 commits into from
Jul 29, 2016

Conversation

rfaes
Copy link
Contributor

@rfaes rfaes commented Jul 29, 2016

Added cancellationtoken to support cancelling the bot.
With this it could be stopped and started at any given time.
Followed the good practices and not cancelling operations after the point of no cancellation.
For example when the lucky egg is used, the operation won't be cancelled before all pokemons are evolved otherwise the lucky egg would be wasted.

@maximegmd maximegmd merged commit ded25c6 into NecronomiconCoding:master Jul 29, 2016
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.

2 participants