rfd
rfd copied to clipboard
Perhaps FileHandle should be !Send and !Sync on every platform
On linux, the type FileHandle is Send and Sync. On wasm32 FileHandle is !Send and !Sync.
It makes a little bit harder to do multiplatform code because a code that worked on Linux may not compiled on Wasm32.
Indeed, I think we can make it !Send !Sync, and if someone does not care about wasm and needs Send/Sync, they can just unwrap the file handle and use Path directly.