MCPcopy Create free account
hub / github.com/devx-op/effectify / useAtomSet

Function useAtomSet

packages/solid/effect-atom/src/hooks.ts:111–134  ·  view source on GitHub ↗
(
  atom: Atom.Writable<R, W>,
  options?: {
    readonly mode?: ([R] extends [Result.Result<any, any>] ? Mode : "value") | undefined
  },
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

childrenFunction · 0.85
SetOnlyDemoFunction · 0.85
SubscribeDemoFunction · 0.85

Calls 2

mountAtomFunction · 0.85
setAtomFunction · 0.85

Tested by 1

childrenFunction · 0.68