We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6da5630 commit 734a2a1Copy full SHA for 734a2a1
lib/src/node.dart
@@ -80,7 +80,6 @@ Future<RenderResult> _renderAsync(RenderOptions options) async {
80
var start = DateTime.now();
81
var file = options.file == null ? null : p.absolute(options.file);
82
CompileResult result;
83
-
84
if (isMainThread == true) {
85
print("Creating worker thread");
86
final worker = Worker(p.current, WorkerOptions(workerData: {options}));
lib/src/node/worker_threads.dart
@@ -1,6 +1,9 @@
1
// Copyright 2020 Google Inc. Use of this source code is governed by an
2
// MIT-style license that can be found in the LICENSE file or at
3
// https://opensource.org/licenses/MIT.
4
+@JS()
5
+library worker_threads;
6
+
7
import 'package:js/js.dart';
8
9
@JS("worker_threads")
0 commit comments