···11-import { mo } from '../../src/index.ts';
22-import type { AtomicInt32 } from '../../src/index.ts';
11+import { mo } from "../../src/index.ts";
22+import { AtomicInt32 } from "../../src/index.ts";
3344export const increment = mo(import.meta, (counter: AtomicInt32): number => {
55 return counter.add(1);
+1-1
src/execute.ts
···11import type { Worker } from 'node:worker_threads';
22import { freezeModule } from './registry.ts';
33-import { serializeArg, deserializeArg } from './sync/reconstruct.ts';
33+import { serializeArg, deserializeArg } from './shared/reconstruct.ts';
44import { extractTransferables } from './transfer.ts';
5566let nextCallId = 0;
+1-1
src/worker-entry.ts
···11import { parentPort } from 'node:worker_threads';
22import { registry } from './registry.ts';
33-import { deserializeArg, serializeArg } from './sync/reconstruct.ts';
33+import { deserializeArg, serializeArg } from './shared/reconstruct.ts';
44import { collectTransferables } from './transfer.ts';
55import type { Transferable } from 'node:worker_threads';
66