|
|
|
|
|
by geofft
1919 days ago
|
|
I'm not sure exactly what you're asking, but I think it's either answered by the "What color is your function?" article I linked above, or by the answer that this is exactly why unasync exists and why I suggested that approach is worth considering, or by the answer that you can, in fact, just run the function and the "bloat" (which is just syntactic bloat - note that performance is generally going to be better!) is taken care of behind the scenes by a wrapper that calls an executor for you. |
|
Maybe we should start trying to think about async as being something can use if they want and ignore if they want. Code being async compatible rather than async required.