What is the idiomatic scala way to force computation on lazy value?
Just call it:
lazy val x = someOperation()
// ...
x
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