I used firebase with c# in my project and it had a on value added listener which listens if any data is added then executes a function based on this
async private void listen()
{
EventStreamResponse response = await server.OnAsync("server", Degistiginde);
}
private void Degistiginde(object sender, ValueAddedEventArgs args, object context)
{
get_Data_from_client_node(args.Data);
}
is there anything similar in mongodb in c# where I can use to do the same function