Closed zemelLeong closed 2 years ago
I try to cat a not exists resource. The program runs for a long time. No sign of exit.
cat
You could try using tokio::time::timeout on the future returned from the ipfs api.
tokio::time::timeout
Thanks. I've achieved it.
I try to
cat
a not exists resource. The program runs for a long time. No sign of exit.