Function
runWithStore
(store: string | undefined, effect: Effect.Effect<A, E>)
Source from the content-addressed store, hash-verified
| 5933 | const current = () => storage.getStore() ?? "none" |
| 5934 | |
| 5935 | const runWithStore = <A, E>(store: string | undefined, effect: Effect.Effect<A, E>): Promise<A> => |
| 5936 | store === undefined ? Effect.runPromise(effect) : storage.run(store, () => Effect.runPromise(effect)) |
| 5937 | |
| 5938 | const observe = Effect.gen(function*() { |
| 5939 | const resumed = current() |
Tested by
no test coverage detected