Files
opencode/packages/opencode/src/effect/instance-ref.ts
T

7 lines
235 B
TypeScript

import { ServiceMap } from "effect"
import type { InstanceContext } from "@/project/instance"
export const InstanceRef = ServiceMap.Reference<InstanceContext | undefined>("~opencode/InstanceRef", {
defaultValue: () => undefined,
})