From cd6f8684bf2ee639dcaab154d5958a5f8b0251ad Mon Sep 17 00:00:00 2001 From: Mohammad Dehghan Date: Tue, 11 Apr 2023 16:53:44 +0200 Subject: [PATCH] Fix sample code for `Timeout` overload The overload takes a `Func`, and it is assumed that we already have a lambda variable called `myTimeoutProvider, but the variable is incorrectly passed to the overload. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a883dc5f26f..f428706cac9 100644 --- a/README.md +++ b/README.md @@ -619,7 +619,7 @@ Policy // Configure variable timeout via a func provider. Policy - .Timeout(() => myTimeoutProvider)) // Func myTimeoutProvider + .Timeout(myTimeoutProvider)) // Func myTimeoutProvider // Timeout, calling an action if the action times out Policy