effect-io-ai

Package: effect
Module: SynchronizedRef

SynchronizedRef.get

Returns an Effect that reads the current value of the SynchronizedRef.

When to use

Use to read the current value of a SynchronizedRef inside an Effect program without changing it.

See

Signature

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

Source

Since v2.0.0