How to create a callback for a changestream watcher in mongocxx?

This is a similar question to what’s been asked before, but I didn’t see any answers in the forums.

I have a C++ application where I need to monitor change streams and run a callback when data has changed. Is this something that’s possible with the mongocxx api ? I see there is a changestream object, but I don’t see a method to create a callback.

Any help would be appreciated. Thanks!