Cancel operation #528
Answered
by
piksel
sebastianp-charactr
asked this question in
Q&A
Cancel operation
#528
-
Is there any way to stop ongoing zip operation while using FastZip? |
Beta Was this translation helpful? Give feedback.
Answered by
piksel
Oct 16, 2020
Replies: 1 comment 3 replies
-
Yes! Most of the FastZip events have a This is roughly how you set it up: var fz = new FastZip(new FastZipEvents(){
CompletedFile += (_, ea) => {
ea.ContinueRunning = logicToDetermineIfShouldContinue()
}
})); |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
sebastianp-charactr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes! Most of the FastZip events have a
ContinueRunning
property in their EventArgs that you can set tofalse
to stop it.This is roughly how you set it up: