-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use empty cancellation
reason
as default (#32)
* fix: use empty cancellation `reason` as default Let clients cancel the token without any reason via a convenient way. Signed-off-by: dankeboy36 <[email protected]> * fix: remove superfluous type declaration it can be inferred from the default empty `string` Signed-off-by: dankeboy36 <[email protected]> * Make reason parameter optional + test --------- Signed-off-by: dankeboy36 <[email protected]> Co-authored-by: Dennis Huebner <[email protected]>
- Loading branch information
1 parent
d281883
commit 49d55e7
Showing
3 changed files
with
24 additions
and
8 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
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