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
99### Gradle
1010
1111``` groovy
12- compile "com.github.akarnokd:async-enumerable:0.1 .0"
12+ compile "com.github.akarnokd:async-enumerable:0.2 .0"
1313```
1414
1515### Getting started
@@ -35,7 +35,9 @@ source to produce the next value but instead of returning a `false` or `true` im
3535` java.util.concurrent.CompletionStage<Boolean> ` that is completed with ` true ` if a value is ready and ` false ` if no
3636more values to be expected. In the ` true ` case, one can read the current value via ` current() ` .
3737
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.)
3941
4042``` java
4143CompletionStage<Boolean > stage = enumerator. moveNext();
Original file line number Diff line number Diff line change 1- version =0.1 .0
1+ version =0.2 .0
22org.gradle.jvmargs =-XX:+IgnoreUnrecognizedVMOptions --permit-illegal-access --show-version
33
You can’t perform that action at this time.
0 commit comments