| 1 | import { Function } from "@/Railway/Function.ts"; |
| 2 | import * as pathe from "pathe"; |
| 3 | import { Partition, Site } from "./suite-env.ts"; |
| 4 | |
| 5 | export { Site }; |
| 6 | |
| 7 | /** |
| 8 | * Async-style Function: `main` points at {@link ./async-ping.ts} and there |
| 9 | * is no `Effect.gen` implementation, so Alchemy marks it `isExternal` and |
| 10 | * bundles without the Effect bootstrap (stays under the 96KB canvas cap). |
| 11 | */ |
| 12 | export const AsyncPing = Function("AsyncPing", { |
| 13 | project: Site, |
| 14 | environment: Partition, |
| 15 | main: pathe.resolve(import.meta.dirname, "async-ping.ts"), |
| 16 | }); |