Solving function coloring by adding implicit Task.Run() calls, when awaiting synchrononous functions #9954
Replies: 2 comments 6 replies
-
|
Not really understanding what you're asking for. Why would you need to await a synchronous function? |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
Maybe uninterruptible functions accepting a CancellationToken should always have a task interface, because this is necessary in single-threaded environments. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When awaiting a synchronous function, implicitly adding a Task.Run() should resolve the need for providing both, synchronous, and asynchronous functions.
Beta Was this translation helpful? Give feedback.
All reactions