Please add cancellation support to IWriter and a way to retrieve progress | Maybe WriteAsync() ? #589

Open
opened 2026-01-29 22:14:14 +00:00 by claunia · 1 comment
Owner

Originally created by @zhuxb711 on GitHub (Sep 23, 2023).

IWriter currently do not support the cancellation and progress report.
So maybe we should add those for it. Otherwise, no progress to show and the write operation could not be canceled.

Originally created by @zhuxb711 on GitHub (Sep 23, 2023). IWriter currently do not support the cancellation and progress report. So maybe we should add those for it. Otherwise, no progress to show and the write operation could not be canceled.
claunia added the enhancementup for grabs labels 2026-01-29 22:14:14 +00:00
Author
Owner

@adamhathcock commented on GitHub (Sep 25, 2023):

There is no async support (which is a big rewrite to go to each Stream's async) so there isn't a cancellation token

Progress on write is a good suggestion though

@adamhathcock commented on GitHub (Sep 25, 2023): There is no async support (which is a big rewrite to go to each Stream's async) so there isn't a cancellation token Progress on write is a good suggestion though
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#589