Skip to content

Commit

Permalink
Update pipe link
Browse files Browse the repository at this point in the history
  • Loading branch information
ljhaywar committed Feb 18, 2021
1 parent f5d5869 commit b07915d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion changeStreams.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ async function monitorListingsUsingStreamAPI(client, timeInMs = 60000, pipeline
// See https://mongodb.github.io/node-mongodb-native/3.6/api/Collection.html#watch for the watch() docs
const changeStream = collection.watch(pipeline);

// See https://mongodb.github.io/node-mongodb-native/3.6/api/ChangeStream.html#pipe for the pipe() docs
// See https://mongodb.github.io/node-mongodb-native/3.6/api/ChangeStream.html#stream for the stream() docs
changeStream.stream().pipe(
new stream.Writable({
objectMode: true,
Expand Down

0 comments on commit b07915d

Please sign in to comment.