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

Method resultOnce

packages/effect/src/unstable/reactivity/Atom.ts:166–166  ·  view source on GitHub ↗
(this: AtomContext, atom: Atom<AsyncResult.AsyncResult<A, E>>, options?: {
    readonly suspendOnWaiting?: boolean | undefined
  })

Source from the content-addressed store, hash-verified

164 readonly suspendOnWaiting?: boolean | undefined
165 }): Effect.Effect<A, E>
166 resultOnce<A, E>(this: AtomContext, atom: Atom<AsyncResult.AsyncResult<A, E>>, options?: {
167 readonly suspendOnWaiting?: boolean | undefined
168 }): Effect.Effect<A, E>
169 once<A>(this: AtomContext, atom: Atom<A>): A

Callers 3

Atom.test.tsFile · 0.80
resultFunction · 0.80
setResultFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected