@@ -24,7 +24,7 @@ import kotlinx.coroutines.reactive.awaitSingle
24
24
* @author Mark Paluch
25
25
* @since 2.2
26
26
*/
27
- suspend inline fun <reified H : Any , reified HK : Any , reified HV : Any > ReactiveHashOperations <H , HK , HV >.hasKeyAndAwait (key : H , hashKey : HK ): Boolean =
27
+ suspend fun <H : Any , HK : Any , HV : Any > ReactiveHashOperations <H , HK , HV >.hasKeyAndAwait (key : H , hashKey : HK ): Boolean =
28
28
hasKey(key, hashKey).awaitSingle()
29
29
30
30
/* *
@@ -34,7 +34,7 @@ suspend inline fun <reified H : Any, reified HK : Any, reified HV : Any> Reactiv
34
34
* @author Christoph Strobl
35
35
* @since 2.2
36
36
*/
37
- suspend inline fun <reified H : Any , reified HK : Any , reified HV : Any > ReactiveHashOperations <H , HK , HV >.getAndAwait (key : H , hashKey : HK ): HV ? =
37
+ suspend fun <H : Any , HK : Any , HV : Any > ReactiveHashOperations <H , HK , HV >.getAndAwait (key : H , hashKey : HK ): HV ? =
38
38
get(key, hashKey).awaitFirstOrNull()
39
39
40
40
/* *
@@ -43,7 +43,7 @@ suspend inline fun <reified H : Any, reified HK : Any, reified HV : Any> Reactiv
43
43
* @author Mark Paluch
44
44
* @since 2.2
45
45
*/
46
- suspend inline fun <reified H : Any , reified HK : Any , reified HV : Any > ReactiveHashOperations <H , HK , HV >.multiGetAndAwait (key : H , vararg hashKeys : HK ): List <HV ?> =
46
+ suspend fun <H : Any , HK : Any , HV : Any > ReactiveHashOperations <H , HK , HV >.multiGetAndAwait (key : H , vararg hashKeys : HK ): List <HV ?> =
47
47
multiGet(key, hashKeys.toCollection(ArrayList ())).awaitSingle()
48
48
49
49
/* *
@@ -52,7 +52,7 @@ suspend inline fun <reified H : Any, reified HK : Any, reified HV : Any> Reactiv
52
52
* @author Mark Paluch
53
53
* @since 2.2
54
54
*/
55
- suspend inline fun <reified H : Any , reified HK : Any , reified HV : Any > ReactiveHashOperations <H , HK , HV >.incrementAndAwait (key : H , hashKey : HK , delta : Long ): Long =
55
+ suspend fun <H : Any , HK : Any , HV : Any > ReactiveHashOperations <H , HK , HV >.incrementAndAwait (key : H , hashKey : HK , delta : Long ): Long =
56
56
increment(key, hashKey, delta).awaitSingle()
57
57
58
58
/* *
@@ -61,7 +61,7 @@ suspend inline fun <reified H : Any, reified HK : Any, reified HV : Any> Reactiv
61
61
* @author Mark Paluch
62
62
* @since 2.2
63
63
*/
64
- suspend inline fun <reified H : Any , reified HK : Any , reified HV : Any > ReactiveHashOperations <H , HK , HV >.incrementAndAwait (key : H , hashKey : HK , delta : Double ): Double =
64
+ suspend fun <H : Any , HK : Any , HV : Any > ReactiveHashOperations <H , HK , HV >.incrementAndAwait (key : H , hashKey : HK , delta : Double ): Double =
65
65
increment(key, hashKey, delta).awaitSingle()
66
66
67
67
/* *
@@ -70,7 +70,7 @@ suspend inline fun <reified H : Any, reified HK : Any, reified HV : Any> Reactiv
70
70
* @author Mark Paluch
71
71
* @since 2.2
72
72
*/
73
- suspend inline fun <reified H : Any , reified HK : Any , reified HV : Any > ReactiveHashOperations <H , HK , HV >.sizeAndAwait (key : H ): Long =
73
+ suspend fun <H : Any , HK : Any , HV : Any > ReactiveHashOperations <H , HK , HV >.sizeAndAwait (key : H ): Long =
74
74
size(key).awaitSingle()
75
75
76
76
/* *
@@ -79,7 +79,7 @@ suspend inline fun <reified H : Any, reified HK : Any, reified HV : Any> Reactiv
79
79
* @author Mark Paluch
80
80
* @since 2.2
81
81
*/
82
- suspend inline fun <reified H : Any , reified HK : Any , reified HV : Any > ReactiveHashOperations <H , HK , HV >.putAllAndAwait (key : H , map : Map <HK , HV >): Boolean =
82
+ suspend fun <H : Any , HK : Any , HV : Any > ReactiveHashOperations <H , HK , HV >.putAllAndAwait (key : H , map : Map <HK , HV >): Boolean =
83
83
putAll(key, map).awaitSingle()
84
84
85
85
/* *
@@ -88,7 +88,7 @@ suspend inline fun <reified H : Any, reified HK : Any, reified HV : Any> Reactiv
88
88
* @author Mark Paluch
89
89
* @since 2.2
90
90
*/
91
- suspend inline fun <reified H : Any , reified HK : Any , reified HV : Any > ReactiveHashOperations <H , HK , HV >.putAndAwait (key : H , hashKey : HK , hashValue : HV ): Boolean =
91
+ suspend fun <H : Any , HK : Any , HV : Any > ReactiveHashOperations <H , HK , HV >.putAndAwait (key : H , hashKey : HK , hashValue : HV ): Boolean =
92
92
put(key, hashKey, hashValue).awaitSingle()
93
93
94
94
/* *
@@ -97,7 +97,7 @@ suspend inline fun <reified H : Any, reified HK : Any, reified HV : Any> Reactiv
97
97
* @author Mark Paluch
98
98
* @since 2.2
99
99
*/
100
- suspend inline fun <reified H : Any , reified HK : Any , reified HV : Any > ReactiveHashOperations <H , HK , HV >.putIfAbsentAndAwait (key : H , hashKey : HK , hashValue : HV ): Boolean =
100
+ suspend fun <H : Any , HK : Any , HV : Any > ReactiveHashOperations <H , HK , HV >.putIfAbsentAndAwait (key : H , hashKey : HK , hashValue : HV ): Boolean =
101
101
putIfAbsent(key, hashKey, hashValue).awaitSingle()
102
102
103
103
/* *
@@ -106,7 +106,7 @@ suspend inline fun <reified H : Any, reified HK : Any, reified HV : Any> Reactiv
106
106
* @author Mark Paluch
107
107
* @since 2.2
108
108
*/
109
- suspend inline fun <reified H : Any , reified HK : Any , reified HV : Any > ReactiveHashOperations <H , HK , HV >.removeAndAwait (key : H , vararg hashKeys : Any ): Long =
109
+ suspend fun <H : Any , HK : Any , HV : Any > ReactiveHashOperations <H , HK , HV >.removeAndAwait (key : H , vararg hashKeys : Any ): Long =
110
110
remove(key, * hashKeys).awaitSingle()
111
111
112
112
/* *
@@ -115,5 +115,5 @@ suspend inline fun <reified H : Any, reified HK : Any, reified HV : Any> Reactiv
115
115
* @author Christoph Strobl
116
116
* @since 2.2
117
117
*/
118
- suspend inline fun <reified H : Any , reified HK : Any , reified HV : Any > ReactiveHashOperations <H , HK , HV >.deleteAndAwait (key : H ): Boolean =
118
+ suspend fun <H : Any , HK : Any , HV : Any > ReactiveHashOperations <H , HK , HV >.deleteAndAwait (key : H ): Boolean =
119
119
delete(key).awaitSingle()
0 commit comments