effect-io-ai

Package: effect
Module: ScopedRef

ScopedRef.getUnsafe

Retrieves the current value of the scoped reference synchronously.

When to use

Use when you need immediate synchronous access to the current ScopedRef value and can guarantee that reading outside the Effect API is safe.

See

Signature

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

Source

Since v4.0.0