Comment by adamwk
Comment by adamwk 19 hours ago
The subject of the function coloring article was callback APIs in Node, so an argument you need to pass to your IO functions is very much in the spirit of colored functions and has the same limitations.
In Zig's case you pass the argument whether or not it's asynchronous, though. The caller controls the behavior, not the function being called.