``` fun <T> lazier(initializer: () -> T) ...
# random
l
Copy code
fun <T> lazier(initializer: () -> T) = lazy(LazyThreadSafetyMode.PUBLICATION, initializer)
fun <T> laziest(initializer: () -> T) = lazy(LazyThreadSafetyMode.NONE, initializer)
😅
👌 1
😆 14
🍻 2
m
Sense great naming skills in you, I can.
🍻 1
i
Actually SYNCHRONIZED one is the laziest, because it's guaranteed to execute
initializer
not more than once. Others can run it more times.
l
right, but from the developer perspective
NONE
is equal to “i don’t care” 🙂