mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-10-13 22:07:44 +02:00
17 lines
458 B
TypeScript
17 lines
458 B
TypeScript
import * as Effect from "effect/Effect";
|
|
import * as Alchemy from "@/index.ts";
|
|
import * as Cloudflare from "@/Cloudflare/index.ts";
|
|
|
|
export default Alchemy.Stack(
|
|
"DevCliKillFixture",
|
|
{
|
|
providers: Cloudflare.providers(),
|
|
state: Alchemy.localState(),
|
|
},
|
|
Effect.gen(function* () {
|
|
const worker = yield* Cloudflare.Worker("KillFixtureWorker", {
|
|
main: "./worker.ts",
|
|
});
|
|
return { workerUrl: worker.url.as<string>() };
|
|
}),
|
|
);
|