Skip to content

Commit

Permalink
Prepare release 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
akarnokd committed Dec 26, 2017
1 parent a65d3fc commit 9ca58db
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Prototype Java 9 library based on the asynchronous enumerable concept (where mov
### Gradle

```groovy
compile "com.github.akarnokd:async-enumerable:0.1.0"
compile "com.github.akarnokd:async-enumerable:0.2.0"
```

### Getting started
Expand All @@ -35,7 +35,9 @@ source to produce the next value but instead of returning a `false` or `true` im
`java.util.concurrent.CompletionStage<Boolean>` that is completed with `true` if a value is ready and `false` if no
more values to be expected. In the `true` case, one can read the current value via `current()`.

(Cancelling a sequence is currently not supported due to still experimenting with ways to express it.)
(Cancelling a sequence is currently partially supported via the `cancel()` method on `AsyncEnumerator`,
but it feels too much Reactive Streams and not like the pre-existing cancellation support in
other async-enumerable libraries.)

```java
CompletionStage<Boolean> stage = enumerator.moveNext();
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version=0.1.0
version=0.2.0
org.gradle.jvmargs=-XX:+IgnoreUnrecognizedVMOptions --permit-illegal-access --show-version

0 comments on commit 9ca58db

Please sign in to comment.