Client finish after TryCancel

37 views
Skip to first unread message

Kyrylo Volkov

unread,
Oct 4, 2022, 10:29:35 AM10/4/22
to grpc.io
If I call Read method on ClientAsyncReader, and in some time call TryCancel on the client context, is it safe to call finish directly after calling cancel or I must wait until Read tag is dequeued from the completion queue? According to the documentation, finish should not be used concurrently with other operations but what bad can happen?
Reply all
Reply to author
Forward
0 new messages