Specification
GRPC calls need to support cancellation and deadlines. This means that the GRPC client call needs to respond to a abortion and stop the current call. The GRPC service handler will also need to respond to an abortion, either triggered by a deadline connection failure or the client abortion, and finish processing the request early.
Additional context
Tasks
- Determine how to interface with the GRPC API to implement timeouts and cancellablility.
- Convert the Client side methods to use
timedCancellable.
- Covert the service handlers to use timeouts and cancellability
- Update and use the test client/ handlers to do the same and make tests to check the behaviour.