AtomicReference

constructor(value: T)(source)

Creates a new atomic reference pointing to given ref.

Throws

with legacy MM if reference is not frozen.