EagerInitialization

Platform and version requirements: JS (1.6)
@ExperimentalStdlibApi @Target([AnnotationTarget.PROPERTY]) annotation class EagerInitialization
Deprecated: This annotation is a temporal migration assistance and may be removed in the future releases, please consider filing an issue about the case where it is needed

Forces a top-level property to be initialized eagerly, opposed to lazily on the first access to file and/or property.

Constructors

Platform and version requirements: JS (1.1)

<init>

Forces a top-level property to be initialized eagerly, opposed to lazily on the first access to file and/or property.

EagerInitialization()

© 2010–2022 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-eager-initialization/