Swift concurrency "first" function

I quite like the idea and the function signature itself. :slight_smile:

I wish there were a built-in language construct for this kind of things.

In case you haven't already seen it, you may want to visit this old discussion, which is to some extent related to what you are trying to do.