Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/sync/Mutex.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Token } from "../workers";
import { mutexIdentityData } from "./identifiers";
import { acquire, acquireAsync, SemaphoreInternal, type Releaser } from "./Semaphore";
import type { Token } from "../workers.d.ts";
import { mutexIdentityData } from "./identifiers.js";
import { acquire, acquireAsync, SemaphoreInternal, type Releaser } from "./Semaphore.js";

/**
* Synchronization object that can be used to grant a single thread exclusive access to a resource or critical section.
Expand Down
2 changes: 1 addition & 1 deletion src/sync/SyncObject.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Token } from "../workers";
import type { Token } from "../workers.d.ts";

/**
* Base class for synchronization objects.
Expand Down
2 changes: 1 addition & 1 deletion src/sync/identifiers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type Token } from "../workers";
import type { Token } from "../workers.d.ts";

export type IdentifierData = [
number,
Expand Down
6 changes: 3 additions & 3 deletions src/workers/WorkItem.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { CancelledMessage } from "../cancellation/CancelledMessage";
import { WorkItemStatus } from "./AsyncWorker";
import { WorkItemInternal } from "./WorkItemInternal";
import { CancelledMessage } from "../cancellation/CancelledMessage.js";
import { WorkItemStatus } from "./AsyncWorker.js";
import { WorkItemInternal } from "./WorkItemInternal.js";

/**
* Defines a work item object, which is the abstract representation of a worker's task.
Expand Down