Hello,
tokio_threadpool::blocking(|| {
print_message(&s, message_id); //lets assume that function can hang.
}).map_err(|_| panic!("the threadpool shut down"));
Above code blocks indefinitely, is there a way to timeout tokio_threadpool::blocking?
Thanks and regard