You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -659,6 +659,14 @@ dart run isolate_manager:generate
659
659
*`--debug`: Retain temporary files created during generation for debugging purposes.
660
660
*`--worker-mappings-experiment=lib/main.dart` (Experimental): Attempt to auto-generate `workerMappings` for `IsolateManager.createShared` by scanning the specified Dart file.
661
661
662
+
You can also pass additional arguments to the underlying Dart compiler by adding `--` after the generator command. For example:
663
+
664
+
```shell
665
+
dart run isolate_manager:generate -- --omit-implicit-checks --no-source-maps
666
+
```
667
+
668
+
These arguments will be forwarded to the Dart process (useful for `dart2js` / `dart compile js` or other Dart compiler options).
669
+
662
670
## Additional Tips
663
671
664
672
***Queue Length:** Check `isolateManagerInstance.queuesLength` to get the current number of tasks in the queue.
0 commit comments