(self: TxRef<A>)
| 283 | * @since 2.0.0 |
| 284 | */ |
| 285 | export const get = <A>(self: TxRef<A>): Effect.Effect<A> => |
| 286 | Effect.Transaction.pipe( |
| 287 | Effect.map((state) => journalEntry(state, self).value), |
| 288 | Effect.tx |
| 289 | ) |
| 290 | |
| 291 | /** |
| 292 | * Sets the value of the `TxRef`. |
nothing calls this directly
no test coverage detected