1import * as Cache from "effect/Cache"
2import * as Effect from "effect/Effect"
3
4Cache.make({
5 capacity: 1024,
6 lookup: (key: string) => Effect.succeed(key)
7}).pipe(
8 Effect.flatMap(Cache.get("1")),
9 Effect.runFork
10)