Skip to content

Commit ba89acb

Browse files
committed
fix: improve worker runtime documentation and clean production output
- Add comprehensive JSDoc to WorkerRuntime class - Document clean, production-ready execution behavior - Ensures users understand the runtime operates without debug logging - Improves developer experience with better code documentation
1 parent 9648a0f commit ba89acb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/runtime/worker-runtime.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ function getImportESM() {
1515
return importESMCached;
1616
}
1717

18+
/**
19+
* Worker runtime that handles execution of worker methods in separate threads.
20+
* Provides clean, production-ready execution without debug logging.
21+
*/
1822
class WorkerRuntime {
1923
private workerInstance: unknown;
2024
private readonly workerId: string;

0 commit comments

Comments
 (0)