-
Type:
New Feature
-
Resolution: Won't Fix
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
We should add a method on the Manager, executeAsyncQuery(), that would return a MongoDB\Driver\AwaitingResult .
That class would compose the Result object, and if foreach()ed over would be blocking.
Can be ->poll()ed to see if there are results.
Interesting read: http://hhvm.com/blog/7091/async-cooperative-multitasking-for-hack
- related to
-
PHPC-2072 Mongo integration and working with Swoole
-
- Closed
-
- links to