How should I write code, when I do not care about the returned value.
Example:
for {
a <- getA // I do not care about a, but I need to wait for the future to finish
b <- getB
} yield (b)
Like this
for {
_ <- getA
b <- getB
} yield (b)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With