effect-io-ai

Package: effect
Module: SynchronizedRef

SynchronizedRef.getUnsafe

Reads the current value synchronously, bypassing the Effect API and the ref’s semaphore.

When to use

Use when you need immediate synchronous access to a SynchronizedRef value in low-level code that can safely read outside an Effect.

See

Signature

declare const getUnsafe: <A>(self: SynchronizedRef<A>) => A

Source

Since v4.0.0