set

fun set(value: T?): T?

Accepts value instance of T and holds its reference.

This method is thread-safe and can be safely invoked without external synchronization.