pyorient icon indicating copy to clipboard operation
pyorient copied to clipboard

asynchronous queries as generators?

Open songololo opened this issue 10 years ago • 2 comments

Would it be possible yield responses from asynchronous queries so that calls to query_async can be iterated using a 'for i in query_async()'?

The current callback procedure doesn't work with things like 'yield from' - perhaps because of pickling limitations?

songololo avatar Apr 22 '15 13:04 songololo

+1 for this!

lucasxteixeira avatar May 18 '15 16:05 lucasxteixeira

+1

decebal avatar Feb 15 '17 10:02 decebal