GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — opencode/packages/opencode/src/project/instance-runtime.ts at dev · ildella/opencode Expand file tree/ Copy pathinstance-runtime.tsMore file actions 16 lines (13 loc) · 940 Bytes / Copy pathinstance-runtime.tsFile metadata and controls16 lines (13 loc) · 940 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 import { AppRuntime } from "@/effect/app-runtime" import { type InstanceContext } from "./instance-context" import { InstanceStore, type LoadInput } from "./instance-store" // Bridge for Promise/ALS callers that cannot yet yield InstanceStore.Service. // Delete this module once those callers are migrated to Effect boundaries that // provide InstanceStore directly. export const load = (input: LoadInput) => AppRuntime.runPromise(InstanceStore.Service.use((store) => store.load(input))) export const disposeInstance = (ctx: InstanceContext) => AppRuntime.runPromise(InstanceStore.Service.use((store) => store.dispose(ctx))) export const disposeAllInstances = () => AppRuntime.runPromise(InstanceStore.Service.use((store) => store.disposeAll())) export const reloadInstance = (input: LoadInput) => AppRuntime.runPromise(InstanceStore.Service.use((store) => store.reload(input))) export * as InstanceRuntime from "./instance-runtime" |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |