Ability to execute Fluent Graph queries asynchronously using .promise()
promise seems to be handling async stuff on its own from the TP GLV directly right now: https://github.com/apache/tinkerpop/blob/master/gremlin-python/src/main/jython/gremlin_python/process/traversal.py#L99
It creates a future and call the synchronous methods on its own executor (or whatever the equivalent would be in python). So the driver (RemoteConnection) implementation would never see that it was async since it was handled at a level higher
In Java this was like that initially too, but we changed it so that the promise step would delegate the aysnc execution to the RemoteConnection and the driver could use its native asynchronous implementation directly instead: https://github.com/apache/tinkerpop/commit/ee6a35893661b015dbb827463f175ddcecf1bcb8#diff-41db22be3e2b751e3efdf8ffc16131a0
<https://github.com/apache/tinkerpop|apache/tinkerpop>apache/tinkerpop | Added by GitHub
That’s when the RemoteConnection submitAsync method was introduced, something similar needs to be introduced on python too then.