We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c24356 commit 3ca2e1eCopy full SHA for 3ca2e1e
worker/deno.json
@@ -2,5 +2,8 @@
2
"name": "@effectionx/worker",
3
"version": "0.1.1",
4
"license": "MIT",
5
- "exports": "./mod.ts"
+ "exports": "./mod.ts",
6
+ "imports": {
7
+ "effection": "npm:effection@4.0.0-alpha.4"
8
+ }
9
}
worker/test-assets/shutdown-worker.ts
@@ -1,4 +1,4 @@
1
-import { call, suspend } from "npm:effection@4.0.0-alpha.4";
+import { call, suspend } from "effection";
import { workerMain } from "../worker.ts";
export interface ShutdownWorkerParams {
worker/test-assets/suspend-worker.ts
-import { suspend } from "npm:effection@4.0.0-alpha.4";
+import { suspend } from "effection";
await workerMain(suspend);
0 commit comments