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

Method subscribe

packages/effect/src/unstable/reactivity/Atom.ts:188–188  ·  view source on GitHub ↗
(this: AtomContext, atom: Atom<A>, f: (_: A) => void, options?: {
    readonly immediate?: boolean
  })

Source from the content-addressed store, hash-verified

186 readonly bufferSize?: number
187 }): Stream.Stream<A, E>
188 subscribe<A>(this: AtomContext, atom: Atom<A>, f: (_: A) => void, options?: {
189 readonly immediate?: boolean
190 }): void
191 readonly registry: Registry.AtomRegistry

Callers 15

Atom.tsFile · 0.65
makeStreamPullEffectFunction · 0.65
subscribeMethod · 0.65
subscribeMethod · 0.65
dehydrateFunction · 0.65
AtomRegistry.tsFile · 0.65
subscribeMethod · 0.65
resultOnceFunction · 0.65
someOnceFunction · 0.65
subscribeFunction · 0.65
streamFunction · 0.65
makeStorageFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected