If I’m not mistaken, this would require some kind of monad-adjacent feature (What syntactic sugar do you most desire? - #2 by SillyFreak). The function doing that would need to return a value and emit content at the same time.
If I’m not mistaken, this would require some kind of monad-adjacent feature (What syntactic sugar do you most desire? - #2 by SillyFreak). The function doing that would need to return a value and emit content at the same time.