Jonny Borges
Committed by GitHub

update to get 2.12.2

fix workers
  1 +## [2.12.2]
  2 +- Fix Workers
  3 +
1 ## [2.12.1] 4 ## [2.12.1]
2 - Added: onReady on Controllers LifeCycle 5 - Added: onReady on Controllers LifeCycle
3 - Added: Observable maps 6 - Added: Observable maps
@@ -6,7 +6,7 @@ void ever(RxInterface listener, Function(dynamic) callback, @@ -6,7 +6,7 @@ void ever(RxInterface listener, Function(dynamic) callback,
6 {bool condition = true}) { 6 {bool condition = true}) {
7 listener.subject.stream.listen((event) { 7 listener.subject.stream.listen((event) {
8 if (condition) { 8 if (condition) {
9 - callback(event.$new); 9 + callback(event);
10 } 10 }
11 }); 11 });
12 } 12 }
@@ -18,7 +18,7 @@ void once(RxInterface listener, Function(dynamic) callback, @@ -18,7 +18,7 @@ void once(RxInterface listener, Function(dynamic) callback,
18 if (!condition) return null; 18 if (!condition) return null;
19 times++; 19 times++;
20 if (times < 2) { 20 if (times < 2) {
21 - callback(event.$new); 21 + callback(event);
22 } 22 }
23 }); 23 });
24 } 24 }
@@ -31,7 +31,7 @@ void interval(RxInterface listener, Function(dynamic) callback, @@ -31,7 +31,7 @@ void interval(RxInterface listener, Function(dynamic) callback,
31 debounceActive = true; 31 debounceActive = true;
32 await Future.delayed(time ?? Duration(seconds: 1)); 32 await Future.delayed(time ?? Duration(seconds: 1));
33 debounceActive = false; 33 debounceActive = false;
34 - callback(event.$new); 34 + callback(event);
35 }); 35 });
36 } 36 }
37 37
@@ -40,7 +40,7 @@ void debounce(RxInterface listener, Function(dynamic) callback, @@ -40,7 +40,7 @@ void debounce(RxInterface listener, Function(dynamic) callback,
40 final _debouncer = Debouncer(delay: time ?? Duration(milliseconds: 800)); 40 final _debouncer = Debouncer(delay: time ?? Duration(milliseconds: 800));
41 listener.subject.stream.listen((event) { 41 listener.subject.stream.listen((event) {
42 _debouncer(() { 42 _debouncer(() {
43 - callback(event.$new); 43 + callback(event);
44 }); 44 });
45 }); 45 });
46 } 46 }
1 name: get 1 name: get
2 description: Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with Get. 2 description: Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with Get.
3 -version: 2.12.1 3 +version: 2.12.2
4 homepage: https://github.com/jonataslaw/get 4 homepage: https://github.com/jonataslaw/get
5 5
6 environment: 6 environment: