(msg: string)
| 14 | const withValue = (value: string) => Effect.locallyWith(ref, List.prepend(value)) |
| 15 | |
| 16 | const logRef = (msg: string) => |
| 17 | Effect.gen(function*() { |
| 18 | const stack = yield* FiberRef.get(ref) |
| 19 | const value = yield* env |
| 20 | yield* Effect.log(`${value} | ${msg} | ${List.toArray(stack).join(" > ")}`) |
| 21 | }) |
| 22 | |
| 23 | describe("Effect", () => { |
| 24 | it.effect("scoped ref", () => |
no test coverage detected
searching dependent graphs…