OfficeDev / ews-managed-api

Other
585 stars 322 forks source link

all awaitable Task methods should offer a cancellationToken overload #273

Open alex-jitbit opened 3 years ago

alex-jitbit commented 3 years ago

Asynchronous methods, like ExchangeService.FindItems, Item.Load, Item.Delete etc etc should all offer a way to cancel a Task.

There are many use-cases (graceful shutdown, abort, ASP.NET host recycle etc) and you should allow us to quickly cancel the task.

netniV commented 3 years ago

Unless you fork this repo, and apply it yourself, you aren't likely to get any more changes. Apparently since 2018, the repo has been in sustaining mode.