File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Prototype Java 9 library based on the asynchronous enumerable concept (where mov
9
9
### Gradle
10
10
11
11
``` groovy
12
- compile "com.github.akarnokd:async-enumerable:0.1 .0"
12
+ compile "com.github.akarnokd:async-enumerable:0.2 .0"
13
13
```
14
14
15
15
### Getting started
@@ -35,7 +35,9 @@ source to produce the next value but instead of returning a `false` or `true` im
35
35
` java.util.concurrent.CompletionStage<Boolean> ` that is completed with ` true ` if a value is ready and ` false ` if no
36
36
more values to be expected. In the ` true ` case, one can read the current value via ` current() ` .
37
37
38
- (Cancelling a sequence is currently not supported due to still experimenting with ways to express it.)
38
+ (Cancelling a sequence is currently partially supported via the ` cancel() ` method on ` AsyncEnumerator ` ,
39
+ but it feels too much Reactive Streams and not like the pre-existing cancellation support in
40
+ other async-enumerable libraries.)
39
41
40
42
``` java
41
43
CompletionStage<Boolean > stage = enumerator. moveNext();
Original file line number Diff line number Diff line change 1
- version =0.1 .0
1
+ version =0.2 .0
2
2
org.gradle.jvmargs =-XX:+IgnoreUnrecognizedVMOptions --permit-illegal-access --show-version
3
3
You can’t perform that action at this time.
0 commit comments