MCPcopy Create free account
hub / github.com/Effect-TS/effect / setSelf

Method setSelf

packages/effect/src/unstable/reactivity/Atom.ts:175–175  ·  view source on GitHub ↗
(this: AtomContext, a: A)

Source from the content-addressed store, hash-verified

173 refreshSelf(this: AtomContext): void
174 self<A>(this: AtomContext): Option.Option<A>
175 setSelf<A>(this: AtomContext, a: A): void
176 set<R, W>(this: AtomContext, atom: Writable<R, W>, value: W): void
177 setResult<A, E, W>(this: AtomContext, atom: Writable<AsyncResult.AsyncResult<A, E>, W>, value: W): Effect.Effect<A, E>
178 some<A>(this: AtomContext, atom: Atom<Option.Option<A>>): Effect.Effect<A>

Callers 6

Atom.test.tsFile · 0.65
Atom.tsFile · 0.65
stepFunction · 0.65
makeStreamPullEffectFunction · 0.65
updateFunction · 0.65
handleUpdateFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected