← Docs
kotlin-stdlib / kotlin / LazyThreadSafetyMode / PUBLICATION

PUBLICATION

Common
JVM
JS
Native
1.0
PUBLICATION
(source)

Initializer function can be called several times on concurrent access to uninitialized Lazy instance value, but only the first returned value will be used as the value of Lazy instance.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .