dapr / dotnet-sdk

Dapr SDK for .NET
Apache License 2.0
1.12k stars 340 forks source link

Updating the workflow console app example program to allow for CTRL+C to properly terminate the program, and Readme updates #1193

Closed RyanLettieri closed 1 year ago

RyanLettieri commented 1 year ago

Description

Added in logic to properly catch a CTRL+C termination input from the user to shutdown the workflow console app example.

Updated Readme

Issue reference

This PR will close: #[1189] #[1191]

**Note that the issue of 1189 will not fully be resolved until https://github.com/microsoft/durabletask-dotnet/issues/249 is resolved.

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

codecov[bot] commented 1 year ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (abcbf4f) 66.53% compared to head (0dd3e9b) 66.53%. Report is 2 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1193 +/- ## ======================================= Coverage 66.53% 66.53% ======================================= Files 171 171 Lines 5752 5752 Branches 626 626 ======================================= Hits 3827 3827 Misses 1776 1776 Partials 149 149 ``` | [Flag](https://app.codecov.io/gh/dapr/dotnet-sdk/pull/1193/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dapr) | Coverage Δ | | |---|---|---| | [net6](https://app.codecov.io/gh/dapr/dotnet-sdk/pull/1193/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dapr) | `66.52% <ø> (ø)` | | | [net7](https://app.codecov.io/gh/dapr/dotnet-sdk/pull/1193/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dapr) | `66.52% <ø> (ø)` | | | [net8](https://app.codecov.io/gh/dapr/dotnet-sdk/pull/1193/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dapr) | `66.52% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dapr#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.