Hi, I wasn't following the async/await work closely yet, though I was wondering if there was any discussion on supporting priority(or generally, passing a custom config object) on executing an async task. Personally I don't know any other languages with async/await support this, but I think it will be really nice to have. I also searched https://github.com/rust-lang/rust/issues/50547 but couldn't find it.
Also, I think priority can be more than just high/normal/low, for example, if it's "I/O heavy" then the scheduler might want to dedicate a IO thread for all "I/O heavy" tasks, which is a pretty common pattern in fact.
That isn't really something that the async-await language feature addresses; it would be more at the runtime level.
You might check with the tokio project or perhaps the async ecosystem WG
I see. Thanks!