Skip to content

Commit

Permalink
add support for abortToken signal in writeFile
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorosty authored Apr 1, 2024
1 parent 12717e2 commit 59d5947
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/adapters/vfs/system.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ const methods = (core, request) => {

return request('writefile', formData, undefined, {
onProgress: options.onProgress,
xhr: !!options.onProgress
xhr: !!options.onProgress,
signal: options.signal,
});
},

Expand Down

0 comments on commit 59d5947

Please sign in to comment.