lampepfl / gears

A strawman for a low-level async library in Scala 3.
https://lampepfl.github.io/gears/
Apache License 2.0
247 stars 24 forks source link

Rename `alt` and `altAll` to `or` and `awaitFirst` #44

Closed natsukagami closed 6 months ago

natsukagami commented 6 months ago

As suggested by #29, alt and altAll are unintuitive names. awaitFirst seems to be a better alternative for altAll.

Respectively, fut1.or(fut2) makes more sense.

m8nmueller commented 6 months ago

Makes sense to me