OfficeDev / ews-managed-api

Other
583 stars 317 forks source link

all awaitable Task methods should offer a cancellationToken overload #273

Open alex-jitbit opened 2 years ago

alex-jitbit commented 2 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 2 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.