File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
internal-packages/run-engine/src/engine/systems Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import { EnqueueSystem } from "./enqueueSystem.js";
1515import { ExecutionSnapshotSystem , getLatestExecutionSnapshot } from "./executionSnapshotSystem.js" ;
1616import { SystemResources } from "./systems.js" ;
1717import { ReleaseConcurrencySystem } from "./releaseConcurrencySystem.js" ;
18+ import { assertNever } from "assert-never" ;
1819
1920export type WaitpointSystemOptions = {
2021 resources : SystemResources ;
@@ -719,9 +720,7 @@ export class WaitpointSystem {
719720 break ;
720721 }
721722 default : {
722- throw new Error (
723- `continueRunIfUnblocked: invalid execution status: ${ snapshot . executionStatus } `
724- ) ;
723+ assertNever ( snapshot . executionStatus ) ;
725724 }
726725 }
727726
You can’t perform that action at this time.
0 commit comments