How to unwatch/close change stream

Ok thanks for reply… i do have few questions before i try…

As i mentioned i have two different endpoints for start and stop changestream…

When i start chanestream using start end point…it keeps on watching the collection…

When i want to stop watching, i wil cal stopchangestream endpoint using the code u provided…(based on condition)…

So we are using two different method for start and stop, what will happen the call for start which we started earlier(as it is keep on watching)… stopchangestram endpoint will stop watching which we called from start end point?