use

fun use(func: (TYPE) -> Unit)

Use the value of this record.

After this method returns, the underlying memory is freed and the RecordRef should not be accessed anymore.