You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature request] Expose native HTTP completion after cancellation #491
cancel() requests native cancellation and immediately rejects the JS promise. The native fetch terminal callback can arrive later. Thus .catch()/.finally() cannot tell an uploader when native code has stopped using its temporary source file.
Repro at the JS/native boundary: call cancel(), await the rejected task, then deliver the native fetch callback. JS has already settled; there is no public notification for the later terminal event.
Request: expose a terminal callback/promise driven by the native fetch completion callback, including after cancellation. Keep cancellation-request acknowledgement separate from actual completion.
This concerns safe source-file cleanup, not whether cancellation stops a download (#370). Verified with the real JS adapter and controlled native callbacks.
Activity
fix(ios): upload sources that cannot be read, chunked progress, and a…