An event that only emits when the stream finishes successfully #2038
Unanswered
longnguyen2004
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using Got in stream mode with retry enabled. I'm looking for an event that only fires when the stream finishes. However, if I understand the code correctly, both
end
andclose
will be emitted on a retry (since it callsthis.destroy()
on retry, and I have Got's output piped to a file). Is there an event that only emits when the stream has finished with no retries?Beta Was this translation helpful? Give feedback.
All reactions