parallelize-async-work
ComputerGuy 5 days ago committed by GitHub
parent a5a5b8da89
commit 76b47d7270
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -65,6 +65,10 @@ export function can_be_parallelized(expression, scope, analysis) {
NewExpression(node, { stop }) {
should_stop = true;
stop();
},
StaticBlock(node, { stop }) {
has_closures = true;
stop();
}
});
if (has_closures || should_stop) {

Loading…
Cancel
Save