File tree Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -65,10 +65,6 @@ export class MutationObserver<
65
65
}
66
66
}
67
67
68
- hasListeners ( ) : boolean {
69
- return this . listeners . length > 0
70
- }
71
-
72
68
onMutationUpdate ( ) : void {
73
69
this . updateResult ( )
74
70
this . notify ( )
Original file line number Diff line number Diff line change @@ -95,10 +95,6 @@ export class QueryObserver<
95
95
}
96
96
}
97
97
98
- hasListeners ( ) : boolean {
99
- return this . listeners . length > 0
100
- }
101
-
102
98
willFetchOnMount ( ) : boolean {
103
99
return (
104
100
this . options . enabled !== false &&
Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ export class Subscribable<TListener = Listener> {
20
20
}
21
21
}
22
22
23
+ hasListeners ( ) : boolean {
24
+ return this . listeners . length > 0
25
+ }
26
+
23
27
protected onSubscribe ( ) : void {
24
28
// Do nothing
25
29
}
You can’t perform that action at this time.
0 commit comments