ObjCMongoDB icon indicating copy to clipboard operation
ObjCMongoDB copied to clipboard

Feature request: Block syntax / Notification / Delegate support

Open Apolotary opened this issue 9 years ago • 1 comments

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?

Apolotary avatar Apr 13 '15 06:04 Apolotary

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.

paulmelnikow avatar May 02 '15 17:05 paulmelnikow