ObjCMongoDB
ObjCMongoDB copied to clipboard
Feature request: Block syntax / Notification / Delegate support
Would it be possible to implement some sort of functionality that would allow the application to, say, poll the remote database in the background thread and present the data when it's available?
That seems like a nice idea, it's something I could see adding.
I haven't investigated whether the legacy C driver will properly handle concurrent background requests. I could look into this, but I'd rather wait until I get upgraded from Mongo's legacy C driver to libmongoc. My progress on that is in the libmongoc branch. Pretty recently I got some help getting libmongoc to build in CocoaPods – that was a stumbling point for a while.
Once that port is finished, I'd be happy to look into adding an API for async responses.