← Docs
kotlin-stdlib / kotlin.native.concurrent / attach

attach

Native
1.3
fun < reified T > DetachedObjectGraph < T > . attach ( ) : T
(source)

Attaches previously detached object subgraph created by DetachedObjectGraph . Please note, that once object graph is attached, the DetachedObjectGraph.stable pointer does not make sense anymore, and shall be discarded, so attach of one DetachedObjectGraph object can only happen once.

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 .