Skip to content

It should be possible to cancel the query before it returns any data #4

Closed

Description

@Dlougach

Sometimes it may make sense to request cancellation of the query even before any data is returned. I think the easiest way to do it in current setup is to create OnProgressCancellable callback in QueryEvents.

Activity

  1. added a commit that references this issue on Mar 8, 2022
  2. slabko commented on Apr 19, 2026

    @slabko
    Contributor

    The newer version of the driver includes OnDataCancelable. Additionally, with the new interactive API, it is possible to send a cancel request between calls that receive data. See more details here:
    #474

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions