effect-io-ai

Package: effect
Module: ScopedRef

ScopedRef.get

Retrieves the current value of the scoped reference effectfully.

When to use

Use to read the value currently stored in a ScopedRef inside an Effect workflow.

See

Signature

declare const get: <A>(self: ScopedRef<A>) => Effect.Effect<A>

Source

Since v2.0.0