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

Function self

packages/effect/src/unstable/reactivity/AtomRegistry.ts:952–955  ·  view source on GitHub ↗
(this: Lifetime<any>)

Source from the content-addressed store, hash-verified

950 },
951
952 self<A>(this: Lifetime<any>): Option.Option<A> {
953 if (this.disposed) return Option.none()
954 return this.node.valueOption() as any
955 },
956
957 refresh<A>(this: Lifetime<any>, atom: Atom.Atom<A>): void {
958 if (this.disposed) return

Callers 10

Order.tsFile · 0.85
Equivalence.tsFile · 0.85
Predicate.tsFile · 0.85
notFunction · 0.85
Function.tsFile · 0.85
Filter.tsFile · 0.85
toPredicateFunction · 0.85
toOptionFunction · 0.85
runFunction · 0.85
propFunction · 0.85

Calls 1

valueOptionMethod · 0.80

Tested by

no test coverage detected