3 ms·
There are a few things I don't understand in this post > neat nod to async systems that can use this neat trick to yield empty strings to signal that they are
by perfunctory 15y ago
There are a few things I don't understand in this post
> neat nod to async systems that can use this neat trick to yield empty strings to signal that they are not ready yet.
Can't the system just do nothing to signal it's not ready yet?
- DasIch 15y agoAn empty string is "nothing".
- the_mitsuhiko 15y ago> Can't the system just do nothing to signal it's not ready yet? In an async system that means you either have to suspect execution (for instance by yielding something) or to block. And blocking is bad.