| 1 | import * as Effect from "effect/Effect"; |
| 2 | import type { BindingHook } from "../PluginContext.ts"; |
| 3 | import * as WorkerdConfig from "../workerd/Config.ts"; |
| 4 | |
| 5 | export const local = (binding: string): BindingHook => |
| 6 | Effect.succeed({ |
| 7 | name: binding, |
| 8 | unsafeEval: WorkerdConfig.kVoid, |
| 9 | }); |