Pinned

data class Pinned<out T : Any>(source)

Since Kotlin

1.3

Functions

Link copied to clipboard
fun get(): T

Returns the underlying pinned object.

Since Kotlin 1.3
Link copied to clipboard
fun unpin()

Disposes the handle. It must not be used after that.

Since Kotlin 1.3