2 Matching Annotations
- Feb 2021
-
github.com github.com
-
Setting it to a lambda will lazily set the default value for that input.
-
-
github.com github.com
-
The rationale is that it's actually clearer to eager initialize. You don't need to worry about timing/concurrency that way. Lazy init is inherently more complex than eager init, so there should be a reason to choose lazy over eager rather than the other way around.
-