Merge branch 'refactor/effectify-snapshot' into refactor/effectify-truncate
This commit is contained in:
@@ -15,3 +15,7 @@ export const runtime = ManagedRuntime.make(
|
||||
export function runPromiseInstance<A, E>(effect: Effect.Effect<A, E, InstanceServices>) {
|
||||
return runtime.runPromise(effect.pipe(Effect.provide(Instances.get(Instance.directory))))
|
||||
}
|
||||
|
||||
export function disposeRuntime() {
|
||||
return runtime.dispose()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user