i am looking for an approach to use persistent single stream on my grpc client which is persistent across entire application working time,
fn send() {
let data = Data {
...somedata
};
let response = match self.client.put_data(tokio_stream::iter(vec![data])).await
}
but we discovered that this leads to recreating grpc stream on each send function call, instead of reusing same stream, is there any other approach that will work with same stream during the entire application run?