forked from ipfs/js-ipfs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: accept browser readable streams as input (ipfs#21)
N.b you can't read from a browser reaable stream repeatedly as the first call to `stream.getReader` locks the reader to the first invocation so I had to change all the test data to be functions that reutrn a new instance of the data.
- Loading branch information
1 parent
fd3bfc5
commit 0902067
Showing
2 changed files
with
52 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters