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
Yes — in the fork (0.2.0) a MinioCancellationToken aborts the upload in
flight:
final token =MinioCancellationToken();
final minio =Minio(..., cancellationToken: token);
await minio.putObject('bucket', 'object', data); // aborts when token.cancel() runs
The same token covers every other request of that client: a request that has
not been sent yet fails with a MinioRequestCancelledError instead of going
out, and the one that is in flight is aborted.
Activity
anhnguyenthe312 commentedon Aug 18, 2022
same question, currently if I use CancelableOperation the operation of upload still continue until success/fail.
arrrrny commentedon Oct 22, 2026
Yes — in the fork (0.2.0) a
MinioCancellationTokenaborts the upload inflight:
The same token covers every other request of that client: a request that has
not been sent yet fails with a
MinioRequestCancelledErrorinstead of goingout, and the one that is in flight is aborted.
arrrrny commentedon Oct 22, 2026
This ships in zuraffa_minio — the maintained fork of this package, which upstream has not touched since August 2025.
The fork keeps the API of the original package unchanged, so moving over is an import swap:
Source, the changelog and the sweep of the open issues of this tracker: https://github.com/arrrrny/zuraffa_minio