Skip to content

Gracefully cancel move #5

@spaenigs

Description

@spaenigs

Is it possible to send a c_cancel, e.g., to gracefully interrupt the move of a series?

cnt = 1
async for instance_ds in local.retrieve(
        remote,
        query_res=QueryResult(QueryLevel.SERIES, data_sets=[query_dataset]),
        report=retrieve_report
):
   # process image
   cnt += 1
   if cnt == 15:
      # cancel move

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions