LCOV - code coverage report
Current view: top level - src/combine_isolate - native_combine_isolate.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 4 4 100.0 %
Date: 2022-12-12 00:09:36 Functions: 0 0 -

          Line data    Source code
       1             : import 'dart:isolate';
       2             : 
       3             : import 'package:combine/src/combine_isolate/combine_isolate.dart';
       4             : import 'package:flutter/foundation.dart';
       5             : 
       6             : class NativeCombineIsolate extends CombineIsolate {
       7           2 :   NativeCombineIsolate(this._isolate, this.onKill);
       8             : 
       9             :   final Isolate _isolate;
      10             :   final VoidCallback onKill;
      11             : 
      12           2 :   @override
      13             :   void kill({int priority = Isolate.beforeNextEvent}) {
      14           4 :     onKill();
      15           4 :     _isolate.kill(priority: priority);
      16             :   }
      17             : }

Generated by: LCOV version 1.16