Skip to content

export fs::asyncify publically? #3687

Answered by Darksonn
cehteh asked this question in Ideas
Discussion options

You must be logged in to vote

It's just a wrapper around tokio::task::spawn_blocking that converts panics in the spawned task into an io error. Use spawn_blocking instead.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cehteh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants