async-rs / async-rs/async-std

Add hinting for spawning known-to-be-blocking tasks

Open
#632 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
4.1k
Forks
339
PR merge metrics
No merged PRs in 30d

Description

In relation to https://github.com/async-rs/async-std/pull/631 and discussions on Discord, it would seem beneficial to provide some hinting for spawning tasks that are known to be blocking so that the runtime doesn't have to time out first but directly knows that it should move the task to a new thread.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.