Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2210

Support cancellation of traversals in Gremlin.Net

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.4.1
    • Fix Version/s: None
    • Component/s: dotnet
    • Labels:
      None

      Description

      It should be possible to cancel a traversal in Gremlin.Net, for example when an application shuts down. This involves the following steps:

      • Cancel the send operation.
      • Cancel the task the user is awaiting on by cancelling the underlying TaskCompletionSource. This means that any received data for this traversal needs to be ignored afterwards.
      • Cancel the operation on the server if possible.

      I'm not sure if / how we can cancel the operation on the server. If it's not easy to do that right now, then we should just start by cancelling everything only client-side.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Florian Hockmann Florian Hockmann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: