open-brainy/src/utils
David Snelling d18a5a6c22 refactor(worker-threads): pass functions as strings to resolve Promise cloning issues
- Updated worker execution logic to pass functions as stringified versions instead of reference types to avoid cloning issues in worker threads.
- Refactored utility functions in `workerUtils` to accept serialized function strings.
- Adjusted embedding and augmentation pipeline workflows to align with the updated worker handling mechanism.
- Enhanced parallel distance calculator to support structured arguments with stringified distance functions for better compatibility.
2025-06-24 10:38:05 -07:00
..
distance.ts Initial commit 2025-06-24 10:16:12 -07:00
embedding.ts refactor(worker-threads): pass functions as strings to resolve Promise cloning issues 2025-06-24 10:38:05 -07:00
environment.ts Initial commit 2025-06-24 10:16:12 -07:00
index.ts Initial commit 2025-06-24 10:16:12 -07:00
version.ts Initial commit 2025-06-24 10:16:12 -07:00
workerUtils.ts refactor(worker-threads): pass functions as strings to resolve Promise cloning issues 2025-06-24 10:38:05 -07:00