LCOV - code coverage report
Current view: top level - src/rx/utils - debouncer.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 4 4 100.0 %
Date: 2020-06-02 18:55:34 Functions: 0 0 -

          Line data    Source code
       1             : import 'dart:async';
       2             : 
       3             : class Debouncer {
       4             :   final Duration delay;
       5             :   Timer _timer;
       6             : 
       7           1 :   Debouncer({this.delay});
       8             : 
       9           1 :   call(Function action) {
      10           2 :     _timer?.cancel();
      11           3 :     _timer = Timer(delay, action);
      12             :   }
      13             : }

Generated by: LCOV version 1.14