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

feat: Enhance Timer to be used for timed loops beyond bootstrapping #141

Merged
merged 1 commit into from
Jan 4, 2021

Conversation

lenny-goodell
Copy link
Member

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/go-mod-bootstrap/blob/master/.github/Contributing.md.

What is the current behavior?

Time is specifically design for use during bootstrapping

Issue Number: #140

What is the new behavior?

Time now has new factory method that allows it to be used for timed loop beyond bootstrapping.
Also added function to return time left on the time.

Does this PR introduce a breaking change?

  • Yes
  • No

New Imports

  • Yes
  • No

Specific Instructions

Are there any specific instructions or things that should be known prior to reviewing?

Other information

@lenny-goodell lenny-goodell marked this pull request as ready for review January 4, 2021 17:51
@lenny-goodell lenny-goodell merged commit ff8e38c into edgexfoundry:master Jan 4, 2021
@lenny-goodell lenny-goodell deleted the timer branch January 4, 2021 17:52
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.

Enhance Timer to be used for timed loops beyond bootstrapping
2 participants