Cancellation
Extend the TAP pattern with CancellationToken please!
2
votes
Sven Nilsson
shared this idea
-
Sven Nilsson commented
I use Ftp, Sftp and Smtp classes and would appreciate CancellationToken parameter for the Async methods.
-
AdminLukas Matyska (Admin, Rebex) commented
Please note that you can cancel currently executed operation (both sync and async) using the Ftp/Imap/Pop3/Smtp.Abort() or Sftp.AbortTransfer() or ZipArchive.Cancel() methods.
We will consider adding the CancellationToken support. Which component are you interested in?