Β© 2026 Hedgehog Software, LLC
export const cache = <A>(x: Effect.Effect<A>): Effect.Effect<A> => { let pending: Promise<A> | undefined return Effect.promise(() => pending ?? (pending = Effect.runPromise(x))) }