AtomicReference

constructor(value: T)(source)

Creates a new atomic reference pointing to given ref.

Throws

if reference is not frozen.