MCPcopy Create free account
hub / github.com/Effect-TS/effect / getUnsafe

Function getUnsafe

packages/effect/src/SynchronizedRef.ts:107–107  ·  view source on GitHub ↗
(self: SynchronizedRef<A>)

Source from the content-addressed store, hash-verified

105 * @since 4.0.0
106 */
107export const getUnsafe = <A>(self: SynchronizedRef<A>): A => self.backing.ref.current
108
109/**
110 * Returns an `Effect` that reads the current value of the `SynchronizedRef`.

Callers 2

getFunction · 0.70
SynchronizedRef.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected