We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to adjust the protocol so that I only need one type of stream. you will still replicate with duplex streams...
stream.pipe(scuttlebutt.createStream()).pipe(stream)
but I want to make that work with fs streams also,
var rs = fs.createReadStream(file) var ss = scuttlebutt.createStream() rs.pipe(ss) ss.pause() rs.on('close', function () { ss.pipe(fs.createWriteStream(file, {flags: 'a'})) })
or, use make a duplex fs stream that works like that...
The text was updated successfully, but these errors were encountered:
done
Sorry, something went wrong.
No branches or pull requests
I want to adjust the protocol so that I only need one type of stream.
you will still replicate with duplex streams...
but I want to make that work with fs streams also,
or, use make a duplex fs stream that works like that...
The text was updated successfully, but these errors were encountered: