Taylor Southwick

My feedback

  1. 8 votes
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Azure IoT  ·  Flag idea as inappropriate…  ·  Admin →
    Taylor Southwick commented  · 

    Using a timespan assumes you know how long you want to wait. However, using a cancellation token allows you to at some later point decide you don't want the async operation to continue. With using a time out, I end up having to wait longer than I should (or retrying multiple times) while if you accept a cancellation token, you can always pass a token in that cancels after a certain amount of time; that is, you can have the same functionality as is currently had while using a cancellation token, but you cannot mimic the cancellation token functionality with a time out.

    Taylor Southwick supported this idea  · 
  2. 767 votes
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    57 comments  ·  Azure Resource Manager  ·  Flag idea as inappropriate…  ·  Admin →
    Taylor Southwick supported this idea  · 

Feedback and Knowledge Base