writableAtom<R, W> function
Creates an WritableAtom that can be used to implement custom write logic.
See stateAtomWithStorage for an example, where writes are intercepted and sent to a NucleusStorage instance.
Implementation
WritableAtom<R, W> writableAtom<R, W>(
AtomReader<R> reader,
AtomWriter<R, W> writer,
) =>
_WritableAtomImpl(reader, writer);