Introduce additional execute methods for ResilienceStrategy
See original GitHub issueIntroduce ExecuteValueTaskAsync
methods for ValueTask
-based callbacks (both void and T based):
- (
ResilienceContext
,State
) - (
ResilienceContext
) - (
State
,CancellationToken
) - (
CancellationToken
)
Introduce ExecuteAsync
methods for Task
based callbacks (both void and T based):
- (
ResilienceContext
,State
) - (
ResilienceContext
) - (
State
,CancellationToken
) - (
CancellationToken
)
Introduce Execute
methods for synchronous callbacks (both void and T based):
- (
ResilienceContext
,State
) - (
ResilienceContext
) - (
State
,CancellationToken
) - (
CancellationToken
) - (
State
) - ()
Issue Analytics
- State:
- Created 6 months ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
23 Resilience Building Activities & Exercises for Adults
We blend resilience research with tactical activities and exercises to spark new ideas, foster empowerment, & help you build resilience.
Read more >7 Strategies to Build a More Resilient Team
Commit to Building Each Other's Resilience: We call this “co-elevation.” It's essential to establish clear and unambiguous expectations around ...
Read more >RESILIENCE STRATEGIES AND APPROACHES TO ...
This paper defines concepts related to systemic threats and reviews the analytical and governance approaches and strategies to manage these ...
Read more >How To Be More Resilient: 8 Strategies for Difficult Times
Yale mental health experts discuss resilience and how to promote it, especially during difficult or stressful times.
Read more >Resilience: Build skills to endure hardship
If you'd like to become more resilient, consider these tips: Get connected. ... Consider the skills and strategies that helped you through difficult...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Well, they are not exactly the same because you have made the context creation and context passing explicit. I think, it is an acceptable workaround. I’ve just wanted to highlight with the example that
ExecuteAndCapture
can be useful in implicit context passing.IMHO keeping the API small and focused is a better design goal than supporting a case where a workaround is also acceptable. So, I’ve just wanted to get an answer whether the
AndCapture
overloads are left out intentionally or accidentally.@PeterCsalaHbo
Just for comparison the same thing done with V8:
Of course, we can add more convenience overloads based on the feedback.