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

Method self

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

Source from the content-addressed store, hash-verified

172 refresh<A>(this: AtomContext, atom: Atom<A>): void
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>

Callers 5

Atom.test.tsFile · 0.80
Atom.tsFile · 0.80
readFunction · 0.80
makeStreamPullEffectFunction · 0.80
handleUpdateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected