We know that we can use collection.watch()
go monitor the change stream for a collection. However, how can I close the watch stream? For example, stop a watch stream when a user click a button or logout
We know that we can use collection.watch()
go monitor the change stream for a collection. However, how can I close the watch stream? For example, stop a watch stream when a user click a button or logout