Does mongodb have the function of active push?

If a new document is added to

mongodb, does it have the ability to actively notify the application? For example, if a queue set adds a pending task, can mongobd actively notify the application to perform the processing instead of constantly polling and checking the collection?

Mar.04,2021

does not have this mechanism, but you can monitor profile or oplog to implement

in disguise.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea556b-4f21a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea556b-4f21a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?