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

Remove stopChan from Scheduler #105

Merged
merged 2 commits into from
Jan 23, 2021
Merged

Conversation

arjunmahishi
Copy link
Member

@arjunmahishi arjunmahishi commented Jan 23, 2021

What does this do?

Remove stopChan from Scheduler to restrict stopping the scheduler only to the Stop function

Which issue(s) does this PR fix/relate to?

Closes #100

List any changes that modify/break current functionality

The StartAsync() function will not return the stopChan anymore. This is a backward incompatible change

Did you document any new/modified functionality?

  • Updated example_test.go
  • Updated README.md

scheduler_test.go Outdated Show resolved Hide resolved
Streppel
Streppel previously approved these changes Jan 23, 2021
Copy link
Member

@Streppel Streppel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@arjunmahishi arjunmahishi merged commit 3d5128b into master Jan 23, 2021
@arjunmahishi arjunmahishi deleted the feature/start-async-without-chan branch January 23, 2021 18:29
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.

[FEATURE] - Allow scheduler to be stopped with Stop()
3 participants