I'm writing an async-std application which is supposed to put some work onto worker threads (using threadpool).
The problem is identical, except that async-std doesn't not have the try_clone function. I figure what I want to do is a very common pattern, so what's the appropriate way to handle it? I only need to pass the writer to the thread, not the reader.
Should I just move the stream object into an Arc and make sure the threads clone it?