Synclets logoSynclets

setAtom

The setAtom method sets an atom value at the specified address.

setAtom(
  address: Address,
  atom: Atom,
  context?: Context,
  sync?: boolean,
): Promise<void>
TypeDescription
addressAddress

The address of the atom.

atomAtom

The atom value to set.

context?Context

Optional context for the operation.

sync?boolean

Whether to trigger synchronization (default: true).

returnsPromise<void>

Since

v0.0.0