Hyperlinkv0.8.0-beta.28

ScopedRef

ScopedRef.getUnsafeconsteffect/ScopedRef.ts:103
<A>(self: ScopedRef<A>): A

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.

gettersget
export const getUnsafe = <A>(self: ScopedRef<A>): A => self.backing.backing.ref.current[1]
Referenced by 1 symbols