Package: effect
Module: Resource
Retrieves the current value stored in this resource.
When to use
Use to read the value currently cached by a Resource.
Gotchas
If the resource currently stores a failed acquisition result, the returned effect fails with the stored error.
See
refresh to re-run acquisition and update the stored value before a later readSignature
declare const get: <A, E>(self: Resource<A, E>) => Effect.Effect<A, E>
Since v2.0.0