2 comments

[ 2.7 ms ] story [ 17.3 ms ] thread
I feel like the core argument of the original "what color is your function" article is that you can't abstract over sync/async. You can't write `array.filter` to receive a sync or async parameter, it is either one or the other.

Has this been solved anywhere?

"async-std variant, tokio variant"

So we're not even seeing the problem here? A giant turd in the middle of the room everyone is politely stepping around.