We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 537160d commit 34b9792Copy full SHA for 34b9792
1 file changed
packages/opencode/src/effect/instance-state.ts
@@ -73,10 +73,4 @@ export namespace InstanceState {
73
Effect.gen(function* () {
74
return yield* ScopedCache.invalidate(self.cache, yield* directory)
75
})
76
-
77
- /**
78
- * Effect finalizers run on the fiber scheduler after the original async
79
- * boundary, so ALS reads like Instance.directory can be gone by then.
80
- */
81
- export const withALS = <T>(fn: () => T) => Effect.map(context, (ctx) => Instance.restore(ctx, fn))
82
}
0 commit comments