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

Function getUnsafe

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

Source from the content-addressed store, hash-verified

191 * @since 4.0.0
192 */
193export const getUnsafe = <A>(self: SubscriptionRef<A>): A => self.value
194
195/**
196 * Retrieves the current value of the `SubscriptionRef`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected