sawtooth-cookiejar icon indicating copy to clipboard operation
sawtooth-cookiejar copied to clipboard

Unsubscribe from events

Open sofiter opened this issue 5 years ago • 1 comments

When I tried the code # Unsubscribe from events request = client_event_pb2.ClientEventsUnsubscribeRequest()

appears to be unreachable. Maybe a second function to separate the while loop and the unsubscribe function would help?

sofiter avatar Oct 14 '19 08:10 sofiter

Yes it is unreachable because of the while loop. I put it there in case someone wants to change the code and exit from the while loop.

danintel avatar Oct 14 '19 16:10 danintel