|
|
|
|
|
by HiJon89
603 days ago
|
|
Not sure I follow. The function coloring problem is still solved in that scenario. You can apply structured concurrency to any function (there’s no colors), and any function can contain structured concurrency within it (ie, using structured concurrency doesn’t color your function) |
|
The naive solution doesn't work because it turns out the difference between functions that return a value and functions that return a promise matters..
The other approaches destroy ergonomics.