1import { Function } from "@/Railway/Function.ts";
2import * as pathe from "pathe";
3import { Partition, Site } from "./suite-env.ts";
4
5export { 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 */
12export const AsyncPing = Function("AsyncPing", {
13 project: Site,
14 environment: Partition,
15 main: pathe.resolve(import.meta.dirname, "async-ping.ts"),
16});