• Timeout policy (v5.0 onwards)
  • Purpose
  • Premise: 'Don't wait forever'
  • Syntax
  • Operation
  • Optimistic timeout
  • Pessimistic timeout
  • Additional notes: Pessimistic timeout for async executions
  • Additional notes: Pessimistic timeout for sync executions
  • What happens to the timed-out delegate?
  • Pessimistic timeout
  • Optimistic timeout
  • Further reading
  • Configuration recommendations
  • Use optimistic timeout with HttpClient calls
  • Combining timeout with retries
  • Thread safety and policy reuse
  • Thread safety
  • Policy reuse