LCOV - code coverage report

Current view
top level - /src/native - _bootstrapper.dart
Test
lcov.info
Date
2022-04-02
Legend
Lines
hit
not hit
Branches
taken
not taken
# not executed
HitTotalCoverage
Lines99100.0%
Functions00-
Branches00-
Each row represents a line of source code
LineBranchHitsSource code
1import 'dart:isolate';
2
3import '../_worker_monitor.dart';
4import '../_worker_runner.dart';
5import '../squadron.dart';
6import '../worker_service.dart';
7
81void bootstrap(WorkerInitializer initializer, Map? command) async {
91 final workerPort = ReceivePort();
102 final monitor = WorkerMonitor(() {
111 Squadron.config('terminating Isolate');
121 workerPort.close();
132 Isolate.current.kill();
14 });
15
161 final runner = WorkerRunner(monitor);
17
183 workerPort.listen((message) => runner.processMessage(message));
19
202 await runner.connect(command, workerPort, initializer);
21}
Choose Features