Hi Team,
This is a followup of a SO discussion[1] with Stephen where I wanted to see
if we can add language constructs for 1) Listing running queries 2)
Cancelling a running query. Something straightforward would look like this:
g.query() or g.Q() -> Iterator for all running queries
g.query("132" or g.Q("123") -> project a single query
g.query("123").cancel() or g.Q("123").cancel() -> to cancel the query
Later, the same can be extended with .profile() and other statistics steps.
Interested in hearing your thoughts.
Karthik R
[1]
https://stackoverflow.com/questions/53053463/how-do-i-list-running-gremlin-queries-how-can-i-cancel-slow-or-long-running-que