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

Supervise Bot critical state and cancel its context #10

Merged
merged 5 commits into from Jan 30, 2017

Conversation

oklahomer
Copy link
Owner

This addresses #9 by 1) listening to bot context to properly exit on bot termination and 2) providing a function that wraps channel to ensure non-blocking channel send.

As a side effect, implementation changed to encapsulate the Bot context creation and its cancellation in a narrower scope.

@oklahomer oklahomer merged commit e2f0d4e into master Jan 30, 2017
@oklahomer oklahomer deleted the feature/better_bot_error_suppervision branch January 30, 2017 13:06
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