1
1
import 'dart:async' ;
2
2
3
- import 'package:meta/meta.dart' ;
4
3
import 'package:rxdart_ext/state_stream.dart' ;
5
4
6
5
import 'store.dart' ;
@@ -31,7 +30,6 @@ extension SelectorsExtension<Action, State> on RxReduxStore<Action, State> {
31
30
/// Observe a value of type [Result] exposed from a state stream, and listen only partially to changes.
32
31
///
33
32
/// The returned Stream is a single-subscription Stream.
34
- @useResult
35
33
StateStream <Result > select <Result >(
36
34
Selector <State , Result > selector, {
37
35
Equals <Result >? equals,
@@ -41,7 +39,6 @@ extension SelectorsExtension<Action, State> on RxReduxStore<Action, State> {
41
39
/// Select two sub states and combine them by [projector] .
42
40
///
43
41
/// The returned Stream is a single-subscription Stream.
44
- @useResult
45
42
StateStream <Result > select2 <SubState1 , SubState2 , Result >(
46
43
Selector <State , SubState1 > selector1,
47
44
Selector <State , SubState2 > selector2,
@@ -63,7 +60,6 @@ extension SelectorsExtension<Action, State> on RxReduxStore<Action, State> {
63
60
/// Select three sub states and combine them by [projector] .
64
61
///
65
62
/// The returned Stream is a single-subscription Stream.
66
- @useResult
67
63
StateStream <Result > select3 <SubState1 , SubState2 , SubState3 , Result >(
68
64
Selector <State , SubState1 > selector1,
69
65
Selector <State , SubState2 > selector2,
@@ -91,7 +87,6 @@ extension SelectorsExtension<Action, State> on RxReduxStore<Action, State> {
91
87
/// Select four sub states and combine them by [projector] .
92
88
///
93
89
/// The returned Stream is a single-subscription Stream.
94
- @useResult
95
90
StateStream <Result >
96
91
select4 <SubState1 , SubState2 , SubState3 , SubState4 , Result >(
97
92
Selector <State , SubState1 > selector1,
@@ -128,7 +123,6 @@ extension SelectorsExtension<Action, State> on RxReduxStore<Action, State> {
128
123
/// Select five sub states and combine them by [projector] .
129
124
///
130
125
/// The returned Stream is a single-subscription Stream.
131
- @useResult
132
126
StateStream <Result >
133
127
select5 <SubState1 , SubState2 , SubState3 , SubState4 , SubState5 , Result >(
134
128
Selector <State , SubState1 > selector1,
@@ -179,7 +173,6 @@ extension SelectorsExtension<Action, State> on RxReduxStore<Action, State> {
179
173
/// Select five sub states and combine them by [projector] .
180
174
///
181
175
/// The returned Stream is a single-subscription Stream.
182
- @useResult
183
176
StateStream <Result > select6< SubState1 , SubState2 , SubState3 , SubState4 ,
184
177
SubState5 , SubState6 , Result > (
185
178
Selector <State , SubState1 > selector1,
@@ -236,7 +229,6 @@ extension SelectorsExtension<Action, State> on RxReduxStore<Action, State> {
236
229
/// Select seven sub states and combine them by [projector] .
237
230
///
238
231
/// The returned Stream is a single-subscription Stream.
239
- @useResult
240
232
StateStream <Result > select7< SubState1 , SubState2 , SubState3 , SubState4 ,
241
233
SubState5 , SubState6 , SubState7 , Result > (
242
234
Selector <State , SubState1 > selector1,
@@ -299,7 +291,6 @@ extension SelectorsExtension<Action, State> on RxReduxStore<Action, State> {
299
291
/// Select eight sub states and combine them by [projector] .
300
292
///
301
293
/// The returned Stream is a single-subscription Stream.
302
- @useResult
303
294
StateStream <Result > select8< SubState1 , SubState2 , SubState3 , SubState4 ,
304
295
SubState5 , SubState6 , SubState7 , SubState8 , Result > (
305
296
Selector <State , SubState1 > selector1,
@@ -368,7 +359,6 @@ extension SelectorsExtension<Action, State> on RxReduxStore<Action, State> {
368
359
/// Select nine sub states and combine them by [projector] .
369
360
///
370
361
/// The returned Stream is a single-subscription Stream.
371
- @useResult
372
362
StateStream <Result > select9< SubState1 , SubState2 , SubState3 , SubState4 ,
373
363
SubState5 , SubState6 , SubState7 , SubState8 , SubState9 , Result > (
374
364
Selector <State , SubState1 > selector1,
0 commit comments