Answer the question
In order to leave comments, you need to log in
NodeJS + MongoDB Event handler; Is it possible to?
Is it possible to put an event handler on the NodeJS server so that it reacts to the appearance of new data in MongoDB ? Otherwise, you will have to constantly check the database for new data.
Answer the question
In order to leave comments, you need to log in
And how does the node learn about the data differently if it does not poll the server?
https
://docs.mongodb.com/manual/core/tailable-cursors/tugdualgrall.blogspot.ru/2015/01/how-to-create-pub...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question