Skip to content

Way to check for cancelation on LabVIEW gRPC Server #456

@KarthikAbiram

Description

@KarthikAbiram

I would like to check how a LabVIEW gRPC server can check if a request/call is canceled by the gRPC client.

On the LabVIEW gRPC client side, I can do below to cancel a request:
Image

On a python gRPC server, I have access to the context and can check using below at any point inside the function to know if the call is active/canceled:

if not context.is_active():
                print("Request was canceled during processing.")

Can someone let me know on how I can make a similar check in LabVIEW gRPC server side?

AB#3155044

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions