-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add StartContext, remove Stop (#147)
This change removes the Stop() method from the previous change, and fixes the Start behavior to be backwards compatible. The previous change changed the behavior of Start() to be non-blocking from blocking. This is a change in API that we should revert. Stop is also removed - even though this too is a breaking change this is not a 1.0 release and the release is short-lived as of right now. This change introduces a new method, StartContext, which should achieve the goals from the last change, but retain backwards compatibility. StartContext is a blocking call like Start is, but allows for a context to be passed in, thus allowing for cancellation.
- Loading branch information
Showing
2 changed files
with
35 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters