refactor(runtime): expose shared admission and artifact boundaries (CL26)
This commit is contained in:
parent
2165a2efa8
commit
b4589d5af1
49 changed files with 1790 additions and 1565 deletions
|
|
@ -92,12 +92,12 @@ export class NativeBacktestWorker {
|
|||
retainedRequest &&
|
||||
this.workerUrl &&
|
||||
realpathSync(fileURLToPath(this.workerUrl)) !==
|
||||
realpathSync(fileURLToPath(canonicalWorkerUrl))
|
||||
realpathSync(fileURLToPath(canonicalWorkerUrl()))
|
||||
) {
|
||||
throw new Error('Retained strategy execution requires the canonical bundled worker');
|
||||
}
|
||||
const workerUrl = retainedRequest
|
||||
? canonicalWorkerUrl
|
||||
? canonicalWorkerUrl()
|
||||
: (this.workerUrl ??
|
||||
new URL(
|
||||
import.meta.url.endsWith('.ts') ? './native-worker.ts' : './native-worker.js',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue