{"action":"opened","issue":{"url":"https://api.github.com/repos/App-vNext/Polly/issues/183","repository_url":"https://api.github.com/repos/App-vNext/Polly","labels_url":"https://api.github.com/repos/App-vNext/Polly/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/App-vNext/Polly/issues/183/comments","events_url":"https://api.github.com/repos/App-vNext/Polly/issues/183/events","html_url":"https://github.com/App-vNext/Polly/issues/183","id":191576981,"number":183,"title":"[up-for-grabs] FEATURE: Add Noop policy","user":{"login":"reisenberger","id":9608723,"avatar_url":"https://avatars.githubusercontent.com/u/9608723?v=3","gravatar_id":"","url":"https://api.github.com/users/reisenberger","html_url":"https://github.com/reisenberger","followers_url":"https://api.github.com/users/reisenberger/followers","following_url":"https://api.github.com/users/reisenberger/following{/other_user}","gists_url":"https://api.github.com/users/reisenberger/gists{/gist_id}","starred_url":"https://api.github.com/users/reisenberger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reisenberger/subscriptions","organizations_url":"https://api.github.com/users/reisenberger/orgs","repos_url":"https://api.github.com/users/reisenberger/repos","events_url":"https://api.github.com/users/reisenberger/events{/privacy}","received_events_url":"https://api.github.com/users/reisenberger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-24T18:36:01Z","updated_at":"2016-11-24T18:36:01Z","closed_at":null,"body":"A `NoopPolicy` would not influence execution of the delegate/func passed to `Execute()` (etc) in any way: it would simply execute it.  Uses/benefits:\r\n\r\n+ For a **feature-toggle** to temporarily suspend use of the normal Polly policies (such as suggested in #182)\r\n+ Sometimes, in a **unit-test,** you may want to test the functionality of some SUT without a Polly Policy it contains coming into play.  Passing the policy into the SUT by DI can facilitate this: being able to pass in a `NoopPolicy` would make this even easier.\r\n\r\n(Current workround: passing in `Retry(0)` achieves no-op, but this is not widely documented and not as immediately intuitive as `NoopPolicy` might be.)"}}
{"actor":{"display_login":"reisenberger"}}