set

abstract fun <T> set(atom: Atom<T>, value: T)

Set the value of an atom.

Parameters

T

The type of the value to be stored.

atom

The reference key.

value

The value to be stored.