LCOV - code coverage report

Current view
top level - src/_impl/native - _bootstrapper.dart
Test
lcov.info
Date
2024-11-13
Legend
Lines
hit
not hit
Branches
taken
not taken
# not executed
HitTotalCoverage
Lines88100.0%
Functions00-
Branches00-
Each row represents a line of source code
LineBranchHitsSource code
1import 'dart:isolate';
2
3import '../../worker/worker_request.dart';
4import '../../worker_service.dart';
5import '../xplat/_worker_runner.dart';
6import '_worker_runner.dart';
7
89void bootstrap(WorkerInitializer initializer, WorkerRequest? command) {
99 final workerPort = ReceivePort();
10
1118 final runner = WorkerRunner((r) {
1218 r.internalLogger.t('Terminating Isolate');
139 workerPort.close();
1418 Isolate.current.kill(priority: Isolate.beforeNextEvent);
15 });
16
1718 workerPort.listen(runner.handle);
1818 runner.connect(command, workerPort.sendPort, initializer);
19}
Choose Features